Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: chris collman/handyformats.

This page is for handy formats I use in MoodleDocs. Either I need a place to put links to what I think are successful formats and/or put examples here. In Wikimedia I use a subpage to format my library books. In MoodleDocs I want

A table

abc def ghi
jkl mno pqr
stu vwx yz

A nice table

What it looks like What you type
A table:
header 1 header 2 header 3
row 1, cell 1 row 1, cell 2 row 1, cell 3
row 2, cell 1 row 2, cell 2 row 2, cell 3
A table:

{| class="nicetable"
|-
! header 1
! header 2
! header 3
|-
| row 1, cell 1
| row 1, cell 2
| row 1, cell 3
|-
| row 2, cell 1
| row 2, cell 2
| row 2, cell 3
|}

Note, the class="nicetable" is our local hack for Moodledocs. You can leave it out to get a table without borders.

A table with picture

Icon Effect Icon Effect Icon Effect Icon Effect
Edit.gif Edit text Open.gif Open Delete.gif Delete Move.gif Move
All.gif See all topics Closed.gif Close Right.gif Indent Movehere.gif Move here
One.gif See one topic Help.gif Help Marker.gif Make Current


Picture formats

frame

format frame, left, this label

[[Image:Course_section_formats_1.JPG|frame|left|format frame, left, this label]] thumb example resized

format thumb, 100px, center, this label

[[Image:Course_section_formats_1.JPG|thumb|100px|center|format thumb, 100px, center, this label]]

Modules and plugins

==See also==
*[Place http address for M&P entry here  Name of Entry here] is a Modules and plugins database page that has downloads and more information.
*Discussions: [Place http address for moodle forum or forum thread]
**Please create or find a discussion topic in the [http://moodle.org/mod/forum/view.php?id=44  Contributed Code forum]
**The contributor also maintains a Moodle site that contains one or more [Place http address forums using and supporting xxx], outside of Moodle.org .
*Additional documentation
**[Place http address outside page Moodle] (outside of Moodle.org)
* [Place http address for M&P download put name here] for Moodle 2.0

Forgotten templates

  • Note format

<p class="note">'''Note:''' Moodle 2.0 has a new HTML editor. For details of the HTML editor in Moodle prior to 2.0, see [[HTML editor]].</p>

  • Update template

{{Update}}

  • Gallery format

<gallery>
Image:Moodle.logo
Image:Moodle.logo|This is the a Moodle logo
</gallery>

  • Gallery - fancy

<gallery caption="Possible screenshots" widths="225px" heights="120px" perrow="3">


Other wiki codes

Strikeout can be achieved by <strike>Strikeout </strike>. I find this useful as a tool for visually marking text to be moved or changed.

  • #redirect [[Adding a content page]]
  • underline -- No! No! No! underline is an evil abomination on the web, for anything other than links. People expect online text with an underline t be click-able. If you want to emphasise something, use bold or italic.--Tim Hunt 20:15, 9 December 2010 (UTC) -- Sorry for the interruption.

Note to self

Template for update section as a special page?

{{Update_section}}

These templates work

{{stub}} Listed on special pages

{{Update}} Not listed on special pages