MicMacWiki develop : Différence entre versions
(→Collapsible elements) |
|||
| Ligne 35 : | Ligne 35 : | ||
If you want to use collapsible elements, you have to use HTML and : | If you want to use collapsible elements, you have to use HTML and : | ||
<pre> | <pre> | ||
| − | + | <div class="toccolours mw-collapsible mw-collapsed" style="background-color: Lavender"> | |
| + | <h6 style="font-family: Helvetica:font-size: 40px">element_title</h6> | ||
| + | <div class="mw-collapsible-content">Content | ||
| + | </div> | ||
| + | </div> | ||
</pre> | </pre> | ||
Version du 19 mars 2016 à 11:32
This page is aimed at the collaborators of this wiki. This wiki doesn't have a unlimited storage capacity and we want to have the same formalism for each pages so some guidelines are needed. So please try to respect the guidelines below to create or edit a page of this wiki. Hre, you will find the simple way to include classic objects, etc.... If you want to use more complex things, try to ask internet your question, with "mediawiki" at the end. Mediawiki support HTML, but we prefer to use the wiki formalism.
Link
When you cite a MicMac command or something else, you can try to use hyperlink :
[[page_name|text_hover]]
Image
The storage capacity of our server isn't unlimited, so we try to only import pictures small in size (5Mo max). To reduce the size, you can crop, decrease dimension or screenshot your picture. To impot an image, go on the page Importer un fichier and add your image. Then use :
[[Image:image_name|options...]]
Code
If you want to display a MicMac command or any other source code extract, you can use the tag "<pre></pre>" which produce :
Code Source Example
An other tag "<code></code>" is available but it doesn't manage multiple lines.
Titles
If you want to create a title, it's really simple, just use :
=Title= ==Title== ===Title=== ====Title====
Videos
Collapsible elements
If you want to use collapsible elements, you have to use HTML and :
<div class="toccolours mw-collapsible mw-collapsed" style="background-color: Lavender"> <h6 style="font-family: Helvetica:font-size: 40px">element_title</h6> <div class="mw-collapsible-content">Content </div> </div>