Wiki syntax tips

From Olson Recipes
Jump to navigation Jump to search

Math

Wikimedia help on displaying various formulae

File uploads

[[Media:filename.pdf|Link text (pdf)]]


Gallery

SVG

Enable ImageMagick, but also use rsvg for $wgSVGconverter. Also, for Inkscape SVGs: need to either

1) Convert to text, or

2) Stroke to path

to get pretty text. Need to test this more, and make sure to hold down shift to avoid getting a cached copy of the image.

PGP

use the pre tag

Quiz

http://en.wikiversity.org/wiki/Help:Quiz

<quiz shuffle="none">{Question |type="()"} + The correct answer. - Distractor. - Distractor. - Distractor.</quiz>

<quiz> {Question

|type="()"}
| A | B | C 
+-- A is correct.
-+- B is correct.
--+ C is correct.

</quiz>

<quiz> {Complete the text from the Wikipedia article on Aristotle. |type="{}"} Aristotle was born in { Stageira _8 } in Chalcidice. His parents were { Phaestis _8 } and { Nicomachus _10 }, who became physician to King Amyntas of Macedon. Aristotle was educated as a member of the aristocracy. At about the age of { eighteen|18 _8}, he went to { Athens _6 } to continue his education at { Plato _5 }'s Academy. Aristotle remained at the Academy for nearly twenty years, not leaving until after Plato's death in { 347 _3 } BC.

</quiz>