Difference between revisions of "Template:Language with name/template"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
imported>MSGJ
(transclude cats and iws if they exist)
Line 18: Line 18:
 
* {{{{BASEPAGENAME}}|XYZ|links=no}}
 
* {{{{BASEPAGENAME}}|XYZ|links=no}}
 
}}
 
}}
}}<includeonly>[[Category:Multilingual support templates]]</includeonly>
+
}}<includeonly>[[Category:Multilingual support templates]]</includeonly>{{#ifexist:Template:{{BASEPAGENAME}}/meta
 +
|<div style="display:none; speak:none;">{{{{BASEPAGENAME}}/meta}}</div>
 +
}}

Revision as of 21:57, 21 October 2011

50px Template documentation

This template is used in articles to mark words in the language of [[{{{2}}}]].

Syntax

To use it type

  • {{Language with name|TEXT}}

where TEXT is the text to be marked.

Example

  • {{Language with name|XYZ}}

produces

  • [[{{{2}}} language|{{{2}}}]]: [{{{3}}}] error: {{lang}}: unrecognized language code: xyz (help)