Difference between revisions of "Template:Languages/doc"

From MegaDrumWiki
Jump to: navigation, search
(Created page with 'To insert the language bar on the parent page simply invoke this template by typing: <pre>{{Languages}}</pre> To write pages in another language: * Check that the language is a…')
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
To insert the language bar on the parent page simply invoke this template by typing:
+
To insert the language bar on the parent/child page simply invoke this template by typing:
 
<pre>{{Languages}}</pre>
 
<pre>{{Languages}}</pre>
  
Line 6: Line 6:
 
* Check that the language is available in the [http://www.mediawiki.org/w/index.php?title=Template:Languages language list];
 
* Check that the language is available in the [http://www.mediawiki.org/w/index.php?title=Template:Languages language list];
 
* Suppose that the base English page is "MegaDrum". To write, say, a Russian translation, make a child page called "MegaDrum/ru";
 
* Suppose that the base English page is "MegaDrum". To write, say, a Russian translation, make a child page called "MegaDrum/ru";
* Invoke the language bar template on the parent (if it doesn't exist yet) and child pages. Place it either on top of the page (before the page content) or in the bottom.
+
* Invoke the language bar template on the parent (if it doesn't exist yet) and child pages. Place it either on top of the page (before the page content) or in the bottom (choose one style and stick to it).
 
+
'''The language bar on the child page must have a link to the parent page! Use the following code for the above example:'''
+
<pre>{{Languages|MegaDrum}}</pre>
+
  
 
Original template: [http://www.mediawiki.org/w/index.php?title=Template:Languages]
 
Original template: [http://www.mediawiki.org/w/index.php?title=Template:Languages]

Latest revision as of 16:28, 27 June 2010

To insert the language bar on the parent/child page simply invoke this template by typing:

{{Languages}}

To write pages in another language:

  • Check that the language is available in the language list;
  • Suppose that the base English page is "MegaDrum". To write, say, a Russian translation, make a child page called "MegaDrum/ru";
  • Invoke the language bar template on the parent (if it doesn't exist yet) and child pages. Place it either on top of the page (before the page content) or in the bottom (choose one style and stick to it).

Original template: [1]