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.)
 
Line 1: Line 1:
{{#ifeq:{{{links|}}}|no
+
{{#ifeq:{{{links|{{{link|}}}}}}|no
 
  |{{{2}}}
 
  |{{{2}}}
 
  |[[{{{2}}} languages|{{{2}}}]]
 
  |[[{{{2}}} languages|{{{2}}}]]
}}&#58; {{Lang|{{{1}}}|{{{3}}}|rtl={{{rtl|}}}}}<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>
{{documentation|content=
 
This is a variant of {{tl|language with name}} for language families, to allow for linking to the proper article name.  It is used by templates like {{tl|lang-yrk}}, and should not be used directly.
 
 
 
[[Category:Lang-x templates]]
 
[[Category:Data retrieval templates]]
 
}}</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.