Template:Native name: Difference between revisions

Update from sandbox ("parensize" is more accurate name, code layout)
m (Undid revision 620250771 by Frietjes (talk) nevermind, fixed it a different way)
(Update from sandbox ("parensize" is more accurate name, code layout))
Line 1:
<noinclude>{{hatnoteHatnote|[[Template:Native phrase]] redirects here.}}</noinclude><includeonly><!--
Name/Phrase:
-->{{lang |{{{1}}} |{{#switch:{{{italics|{{{italic|}}}}}}|no|off=|''}}{{{2}}}{{#switch:{{{italics|{{{italic|}}}}}}|no|off=|''}}}}<!--
-->{{#switch:{{{parenlang |{{{icon|}}}1}}} |no|off=|#default=&nbsp;{{#switch:{{{italics|{{{italic|}}}}}}|no|off=|''}}{{{2}}}{{#ifeqswitch:{{{nbspitalics|{{{italic|}}}}}}|no |off=|&nbsp;''}}}}<!--
Language:
--><span class="languageicon" style="font-size:{{{fontsize|81%<!--less than 81% can become too small-->}}};font-weight:normal;"><!--
-->{{#ifswitch:{{{nolinkparen|}}} |({{ISO 639 name{icon|{{{1}}}}})}
|no|off=
| {{#ifexist:Template:ISO 639 name {{{1}}}
|([[#default=&nbsp;{{ISO 639 name#switch:{{{italics|{{{1italic|}}}}}} language|{{ISO 639no|off= name|{{#ifeq:{1{{nbsp|}}}|no ||&nbsp;}}}}]])<!--
--><span class="languageicon" style="font-size:{{{parensize|{{{fontsize|81%<!--less(note: than< 81% can becomeis too small)-->}}}}}};font-weight:normal;"><!--
|(language?)}}<!--
-->{{#if:{{{nolink|}}<!--} |({{ISO 639 name|{{{1}}}}})
| {{#ifexist:Template:ISO 639 name {{{1}}} |([[{{ISO 639 name|{{{1}}}}} language|{{ISO 639 name|{{{1}}}}}]]) |(language?)}}<!--
|(language?)-->}}<!--
--></span><!--
-->}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
{{documentation}}
</noinclude>
Anonymous user