Difference between revisions of "Template:Language family with name"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Zyxw
(Support additional parameter from Template:Language with name. This template is now an exact copy of that one, with the addition of an "s" after language. Documentation and categories now in /doc.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#ifeq:{{{links|}}}|no|{{{2}}}|[[{{{2}}} languages|{{{2}}}]]}}: {{lang|{{{1}}}|{{{3}}}}}<noinclude>
+
{{#ifeq:{{{links|{{{link|}}}}}}|no
{{Documentation}}
+
|{{{2}}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
+
|[[{{{2}}} languages|{{{2}}}]]
</noinclude>
+
}}&#58; {{Lang|{{{1}}}|{{{3}}}|rtl={{{rtl|}}}|nocat={{{nocat|}}}}}{{#if:{{{4<includeonly>|{{{lit|}}}</includeonly>}}}|, {{small|[[Literal translation|lit.]]&nbsp;}}&#39;{{{4|{{{lit}}}}}}&#39;}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 06:37, 8 July 2017

[[{{{2}}} languages|{{{2}}}]]: [{{{3}}}] error: {{lang}}: unrecognized language tag: {{{1}}} (help), lit. '{{{lit}}}'

Template documentation[view] [edit] [history] [purge]

Usage

This is a variant of {{language with name}} for language families, to allow for linking to the proper article name. It is used by templates like {{lang-yrk}}, and should not be used directly.