Help:Wiki syntax
The wikitext mode is an alternative to the usual editing mode (on old browsers, it is the only possible editing mode).
This page offers help about using the wiki syntax, necessary to redacting articles in wikitext mode.
Contents
Adding titles
Section titles (parts of an article) must not be in bold, italic or underlined. This is how you can create them :
- Title for parts of an article :
== Part title ==
- Subtitle for a part of an article :
=== Part subtitle ===
Remark : It is not necessary to have a main title for the article. Wikimini will automatically create it.
Generate a list
Thanks to *
and #
, you can create lists, numbered or not.
Syntax | Result |
---|---|
Simple list | |
|
|
Numbered list | |
|
|
It is possible to create a list by combining the two symbols | |
|
|
Format the text
It is possible to format the text in bold, en italic, ... to highlight the informations of a text, or to write the title of an artwork according to conventions (for example, a movie title has to be in italic).
Syntax | Result |
---|---|
|
Bold |
|
Text |
|
Text |
Subscript<sub>2</sub> |
Subscript2 |
Create a link
Keep in mind to add capital letters: writing [[europe]] will result in europe rather than Europe.
Internal links
Internal links are links pointing towards another article of the encyclopedia.
[[Article name]]
ou
[[Article name|Link title]]
External links
External links are hyperlinks pointing towards other websites than Wikimini.
[Site_URL Link title]
Footnotes
A note or a reference is an information added at the end of the article to wich you can access by a numbered cross-reference in the text. It can be for example the indication of the source the information comes from.
Faire un appel de note <ref>texte de la note</ref>
Remark : To simplify, we usually don't use footnotes in Wikimini. Notes and references can be added at the bottom of the page, but without the direct cross-references from the text.
Insert an image
To insert an image in an article of Wikimini, it has to have been first uploaded into Wikimini.
By default, the image goes to the right of the text with a width of 180 pixels.
To insert an image, you just ave to write :
[[Image:Name of the image|thumb|Legend]]
Where :
- Name of the image has to be replaced with the image's name.
- Legend is the image's legend (A red fox for example)
Options: If you want, you can add dimensions and position options like this :
[[Image:Name the image|thumb|100px|left|Legend]]
Where :
- 100px is the size
- left the position (left) (you can use
center
andright
respectively to put the image on the center or the right)
Place a template
In Wikimini templates were created to replicate the same things on more than one page. To use them, you have to include them in a page by using this notation :
{{Name of the template}}
|
Syntax:
{{Remark|Your text}}
Result:
Here is an example of text using this template. If you want to use it in your articles, you just have to copy the code boxed in yellow above by replacing "Your text" by the text you want. |
Syntax:
{{Quote|Your text}}Result:
Here is an example of text using this template. If you want to use it in your articles, you just have to copy the code boxed in yellow above by replacing "Your text" by the text you want.
Remark : To simplify content editing, the use of templates inside articles is not recommended in Wikimini. In principle, the only accepted exceptions are « boxes » wich can be directly inserted via the toolbar of the text editor, like the « special boxes » or the one signaling a [Template:Scholar project|scholar project]], and the two templates associated with orientation pages : Template:Orientation page and Template:Other meanings.
Redirections
A redirection is a page that automatically sends the visitor to another page.
Example :
(« Einstein is a redirection towards « Albert Einstein ». If you go to the first one, you will automatically be redirected to the second one.)
Creating a redirection :
To create a redirection, you just have to write the following syntax in the redirecting page :
#REDIRECTION [[Name of the targeted article]]
Remark : In Wikimini, we only keep redirection pages that can make easier consulting the alphabetical index. For example, it is normal to keep the redirection page « Einstein », in case readers would look for the article « Albert Einstein » in the index under the letter « E ». It is also normal to keep a redirection page when something can have multiple names (ex : « Soccer ⇒ Football »). On the opposite, it is useless to keep redirection pages with misspelled titles (ex : « Elefant ») or unconvetional ones (ex : « Elephants » instead of « Elephant »). In other words, a redirection page needs to have a real logical use in the alphabetical index.
Create a table
Syntax:
{| width="100%" border="1" |- | NAME | FUNCTION |- | Teacher Wikiboo | Wikimini's teacher |- | Detective Wikiboo | The article searcher |- | Police officer Wikiboo | The complaint collector |}
Rendu:
NAME | FUNCTION |
Teacher Wikiboo | Wikimini's teacher |
Detective Wikiboo | The article searcher |
Police officer Wikiboo | The complaint collector |
Magic Words
Here are the main Magic words and their use. They are automatically updated by the server :
Syntax | Result |
---|---|
For dates | |
|
21 (day of the month) |
Pages (where User:Stef48/Draft is used for the result) | |
|
Stef48/Draft |
Others | |
|
No summary |