Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: Course element : Example.

Course element : Example

From MoodleDocs

Back to index

The element "Example" is a simple text that will be visually styled to describe an example of a concept, a theoretical point, or other abstract knowledge item.

Settings form

Default Template

  <table class="custombox-example" cellspacing="0" width="100%">
  <tr valign="top">
      <td class="custombox-header-thumb example" width="2%" rowspan="2">
      </td>
      <td class="custombox-header-caption example" width="98%">
          Example...
      </td>
  </tr>
  <tr>
      <td class="custombox-content example">
          <%%example%%>
      </td>
  </tr>
  </table>

CSS Element list

.custombox-example (TABLE) : Overal container

.custombox-header-thumb.example (TD) : Left Icon container

.custombox-header-caption.example (TD) : Right caption container

.custombox-content.example (TD) : Message container