User:chris collman/handyformats

From MoodleDocs

Jump to: navigation, search

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

Contents

A table

abc def ghi
jkl mno pqr
stu vwx yz

Aa 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
Image:Edit.gif Edit text Image:Open.gif Open Image:Delete.gif Delete Image:Move.gif Move
Image:All.gif See all topicsImage:Closed.gif CloseImage:Right.gif Indent Image:Movehere.gif Move here
Image:One.gif See one topicImage:Help.gif Help Image:Marker.gif Make Current


Picture formats

frame

format frame, left, this label
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
format thumb, 100px, center, this label

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

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.

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