Difference between revisions of "Template:Language with name/template"
Jump to navigation
Jump to search
imported>Rich Farmbrough |
imported>Rich Farmbrough |
||
| (One intermediate revision by the same user not shown) | |||
| Line 10: | Line 10: | ||
produces | produces | ||
* {{{{BASEPAGENAME}}|XYZ}}{{#ifeq:{{{links|¬}}}|¬||<br> | * {{{{BASEPAGENAME}}|XYZ}}{{#ifeq:{{{links|¬}}}|¬||<br> | ||
| + | |||
==Suppressing links== | ==Suppressing links== | ||
If this template is used repeatedly on an article it [[WP:REPEATLINK|may be appropriate]] to suppress the linking of the language name. To do this you can use {{para|links|no}} | If this template is used repeatedly on an article it [[WP:REPEATLINK|may be appropriate]] to suppress the linking of the language name. To do this you can use {{para|links|no}} | ||
Latest revision as of 15:53, 18 June 2014
File:Test Template Info-Icon - Version (2).svg 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)