Ceci est une ancienne révision du document !
Basic Text Formatting
Use bold, italic, underlined, monospaced
, superscript or subscript, <nowiki>, footnotes 1) and and
or html characters like → ← ↔ ⇒ ⇐ ⇔ » « – — 640×480 © ™ ®.
Use **bold**, //italic//, __underlined__, ''monospaced'', <sup>superscript</sup> or <sub>subscript</sub>, %%<nowiki>%%, footnotes ((This is a footnote example)) and FIXME and DELETEME or html characters like -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r).
Info boxes
<infobox width="80%">**Info**: this in an info</infobox> <infobox type="success" width="80%">**Success**: You have achieved something.</infobox> <infobox type="warning" width="80%">**Warning**: be aware of this.</infobox> <infobox type="danger" width="80%">**Danger**: careful with this !</infobox>
You can play with the parameters :
- type (optional default info)
- success
- info
- warning
- danger
- center ( optional, default true)
- true
- false
- width (optional, default empty)
- 80% (html width style of enclosing div)
- icon (optional, default depends on type)
- glyphicon glyphicon-ok
- glyphicon glyphicon-info-sign
- glyphicon glyphicon-warning-sign
- glyphicon glyphicon-minus-sign
- dismiss (optional, default false)
- true
<infobox type=“success” center=“false” width=“40%”>Success bravo</infobox> <infobox type=“danger” center=“true” width=“80%” icon=“glyphicon glyphicon-warning-sign”>Pay attention to this !</infobox> <infobox type=“danger” dismiss=“true” icon=“glyphicon glyphicon-chevron-right”>You can close this infobox with the cross on the right.</infobox>
<infobox type="success" center="false" width="40%">**Success** bravo</infobox> <infobox type="danger" center="true" width="80%" icon="glyphicon glyphicon-warning-sign">Pay attention to this !</infobox> <infobox type="danger" dismiss="true" icon="glyphicon glyphicon-chevron-right">You can close this infobox with the cross on the right.</infobox>
Collapsable content
<button collapse="idhere" size="xs">Click Me</button> <collapse id="idhere" collapsed="true"> This text appreas or disappears when you click the button. </collapse>
Grids and columns
The grid
element takes col
elements with parameter xs
that will add up to 12 for the full width of the page.
<grid> <col xs="6">Column 1/2 (1 to 6)</col> <col xs="6"> Column 2/2 (7 to 12)</col> </grid>
You don't need to add up to 12 :
There is more room to the right, but we ignore it since we have nothing to add.
<grid> <col xs="2">Column 1/2 (1 to 3)</col> <col xs="4"> Column 2/2 (4 to 5). \\ There is more room to the right, but we ignore it since we have nothing to add.</col> </grid>
Links and media
[[target|display]] and {{filename.ext?size|caption}}
Add space before and/or after the filename to have it
- not aligned (no space)
- aligned left (space on the right)
- centered (space on the left and right)
- aligned right (space on the left)
Quotes
I think we should do it
No we shouldn'tWell, I say we shouldReally?
I think we should do it > No we shouldn't >> Well, I say we should > Really?
TOC and cache
~~NOTOC~~ or ~~NOCACHE~~
TOC gets included once you have at least 3 headlines.
NOCACHE
is useful when using the php
tags.
Full Syntax Guide
You can consult the original (full) syntax page here.