This is the "Languages" template. It provides a bar linking to the available translations of a page in the LibrePlanet wiki.
PLEASE - Do not edit if you are not REALLY sure about what you are doing: it could broke the LibrePlanet wiki pages!
Description
This template shows a bar linking to the available translations of a page. Only works for the pages (should be the "original" master page and its translations) which include this template itself.
This template should be included, either in the "original" master page and in all its translations, ONLY IF almost one translation of the master page really exist in the wiki.
It also set the MediaWiki property 'Language code' of the page in which the template itself has being included (see below).
This template calls:
Usage
It should be called in the following format:
{{Languages|master page=<MasterPage>|language=<LangCode>}}
where:
Note - This also set the MediaWiki properties 'Language code' and 'Content language' of the calling page to the <LangCode> parameter.
Example
If the "original" master page 'MyPage' is written in English (as more often is) and it has an Italian translation at the page 'MyPage/it", then:
{{Languages|master page=MyPage|language=en}}
{{Languages|master page=MyPage|language=it}}
Retrieved from "https://libreplanet.org/wiki?title=Template:Languages&oldid=61902"