Changes

Jump to: navigation, search

Help:Editing

3 bytes added, 20:12, 21 April 2011
Adding language versions
== Adding language versions ==
To add language switches for French and Malagasy versions to appear in the left column of any content page is simple. For exampe, the following code was added in the editing form to edit box of the page [[Lemur|http://madacamp.com/Lemur]]:
<nowiki>[[fr:Lémurien]]</nowiki>
<nowiki>[[mg:Maki]]</nowiki>
Note: Maki is Malagasy for lemur. The Français and Malagasy link therefore appears on the English version, which lead to [http://fr.madacamp.com/Lémurien http://fr.madacamp.com/Lémurien] and [http://mg.madacamp.com/Maki http://mg.madacamp.com/Maki] respectively (maki is Malagasy for lemur).
[[File:Language switch example.gif]]
On the French page, adding links to the English and Malagasy versions is done by:
 
<nowiki>[[en:Lemur]]</nowiki>
<nowiki>[[mg:Maki]]</nowiki>
and And on the Malagasy page, reflecting the links to the English and French pages by: 
<nowiki>[[en:Lemur]]</nowiki>
<nowiki>[[fr:Maki]]</nowiki>
If the a page title is contains two or more words, separatate the words by underscores or spaces, for example:
<nowiki>[[fr:Grande_Île]]</nowiki>
<nowiki>[[mg:Nosy be]]</nowiki>
The code can be added anywhere in the editing formbox, for example at the end.
== Article comments ==

Navigation menu