User:Chris collman/handyformats

From MoodleDocs

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="wikitable"
|-
! 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="wikitable" 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
File:Edit.gif Edit text Open Delete Move
See all topics Close Indent Move here
See one topic Help 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.
Evil abomination for all those who color blind and bald headed? Point noted and taken. However, I saw "Moodle IS an online.." and all I could think of was "Moodle Information Systems" and my brain froze :) Interrupt any time.--Chris collman 17:32, 10 December 2010 (UTC)

Wiki TOC codes

  • __TOC__ forces placement of Table of Contents at this spot
  • {{TOCright}} interesting, sort of in the template postion.
  • [[#toc|Top]] - Links back to Table of Contents, says "Top"
  • __FORCETOC__ = for less than 4 entries to create toc
  • __NOTOC__

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