Vorlage:Description: Unterschied zwischen den Versionen

i18n message shown when text is missing
(add error text if argument 2 is missing (should not affect any current files, since maintenance cat is empty))
(i18n message shown when text is missing)
Zeile 1: Zeile 1:
<includeonly><div class="description {{{1}}}" lang="{{{4|{{{1}}}}}}" style="{{#if:{{{inline|}}}|display:inline;}} direction:{{Dir|{{{4|{{{1}}}}}}}};"><span class="language {{{1}}}" title="{{{name|{{{3|}}}}}}">'''{{ucfirst:{{#language:{{{1}}}}}}}{{{5|}}}:'''</span> {{{2|}}}</div>{{#if:{{{2|}}}||{{#switch:{{NAMESPACENUMBER}}|0|6|10|14|100|106=<span class="error">(missing text)&nbsp;</span>[[Category:Language templates with no text displayed]]}}}}</includeonly><noinclude>
<includeonly><!--
 
=== Mark text {{{2}}} as being in language {{{1}}} ===
 
--><div class="description {{{1}}}" lang="{{{4|{{{1}}}}}}" style="{{#if:{{{inline|}}}|display:inline;}} direction:{{Dir|{{{4|{{{1}}}}}}}};"><span class="language {{{1}}}" title="{{{name|{{{3|}}}}}}">'''{{ucfirst:{{#language:{{{1}}}}}}}{{{5|}}}:'''</span> {{#if:{{{2|}}}|{{{2}}}|<span class="plainlinks">[{{fullurl:Category:Language templates with no text displayed}} <span class="error">{{Description/i18n}}</span>]</span>}}<!--
=== Add Maintenance Category ===
 
-->{{#if:{{{2|}}}||{{#switch:{{NAMESPACENUMBER}}
|0|6|10|14|100|106=[[Category:Language templates with no text displayed]]
}}}}</div></includeonly><noinclude>
 
{{heavily used template}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
Anonymer Benutzer