Template:Localized article: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Typo fix at template documentation)
mNo edit summary
 
Line 21: Line 21:
     }}
     }}
  | Localized article
  | Localized article
}}|20px|link={{{1}}}]]</includeonly>
}}|20px|link={{{1}}}]]</includeonly><noinclude>{{Template documentation|Use this template to add links to articles which are translated, if you want them to look as such. It adds a link with a flag which represents the language the article is in, and a hover text explaining that in a certain language.|
<noinclude>{{Template documentation|Use this template to add links to articles which are translated, if you want them to look as such. It adds a link with a flag which represents the language the article is in, and a hover text explaining that in a certain language.|
<nowiki>{{Localized article|Article title|Link text|Language the article is written in|Language the flag caption is written in}}</nowiki>
<nowiki>{{Localized article|Article title|Link text|Language the article is written in|Language the flag caption is written in}}</nowiki>
* Only the two first parameters are mandatory.
* Only the two first parameters are mandatory.

Latest revision as of 15:41, 23 July 2016

Applications-office.pngTemplate Documentation

Use this template to add links to articles which are translated, if you want them to look as such. It adds a link with a flag which represents the language the article is in, and a hover text explaining that in a certain language.

Usage

{{Localized article|Article title|Link text|Language the article is written in|Language the flag caption is written in}}

  • Only the two first parameters are mandatory.
  • Language the article is written in can be us or uk (English), es (Spanish), fr (French) and de (German).
  • Language the flag caption is written in can be en (English) or es (Spanish).




If you want to add more languages and flags to the list, please do it! Just make sure you don't break the template and the flag style looks consistent.