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

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
imported>Rich Farmbrough
 
Line 1: Line 1:
<includeonly>{{Documentation|content=This template is used in articles to mark words in the language of [[{{{2}}}]].
+
{{Documentation|content=This template is used in articles to mark words in the language of [[{{{2}}}]].
  
 
==Syntax==
 
==Syntax==
Line 22: Line 22:
 
}}<includeonly>[[Category:Multilingual support templates|{{{1|}}}]]</includeonly>{{#ifexist:Template:{{BASEPAGENAME}}/meta
 
}}<includeonly>[[Category:Multilingual support templates|{{{1|}}}]]</includeonly>{{#ifexist:Template:{{BASEPAGENAME}}/meta
 
  |<div style="display:none; speak:none;">{{{{BASEPAGENAME}}/meta}}</div>
 
  |<div style="display:none; speak:none;">{{{{BASEPAGENAME}}/meta}}</div>
}}</includeonly>
+
}}

Latest revision as of 15:53, 18 June 2014

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)