Vorlage:Description: Unterschied zwischen den Versionen

Aus Grundschullernportal
Wechseln zu: Navigation, Suche
(übernommen aus Commons)
K (2 Versionen: Dateien für Mathe mit Mieze Mia)
 
(4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>{{#if:{{{inline|}}}|<span class="description {{{1}}}" lang="{{{4|{{{1}}}}}}">|<div class="description {{{1}}}" lang="{{{4|{{{1}}}}}}">}}<span class="language {{{1}}}" title="{{{name|{{{3|}}}}}}">'''{{#language:{{{1}}}}}{{{5|}}}:'''</span> {{{2|}}}{{#if:{{{inline|}}}|</span>|</div>}}</includeonly><noinclude>
+
<includeonly><!--
----
+
 
Parameters:
+
=== Mark text {{{2}}} as being in language {{{1}}} ===
*1=wikicode for the language and name of the CSS formating class (mandatory)
+
 
*2=description text (optional, default is empty)
+
--><div class="description mw-content-{{Dir|{{{4|{{{1}}}}}}}} {{{1}}}" dir="{{Dir|{{{4|{{{1}}}}}}}}" lang="{{{4|{{{1}}}}}}" style="{{#if:{{{inline|}}}|display:inline;}}"><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>}}<!--  
*3=title for tooltip (optional, default is empty)
+
**name=alternative parameter name for parameter 3
+
=== Add Maintenance Category ===
*4=standard code for lang tag in HTML (optional, default is same as parameter 1)
+
 
*5=extension text shown after the language name before colon (optional, default is empty)
+
-->{{#if:{{{2|}}}||{{#switch:{{NAMESPACENUMBER}}
*inline=optional, default is empty string. When set to any value different from an empty string, forces the template to be displayed inline, so that it does not break the current paragraph (i.e. that makes possible to put several descriptions side by side on a single line)
+
|0|6|10|14|100|106=[[Category:Language templates with no text displayed]]
 +
}}}}</div></includeonly><noinclude>
 +
 
 +
{{heavily used template}}
 +
{{documentation}}
  
[[Category:Internationalization templates]]
 
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 29. Oktober 2017, 22:57 Uhr


{{#invoke: fallback|autotranslate|base = Heavily used template|lang= |1= |2= |3= |4= |5=|6= |7= |8= |9= |10= |11= |12= |13= |14= |15= }}

Documentation icon VorlagendokumentationAnzeigenBearbeitenVersionen</span></div>

Diese Vorlagendokumentation wird von der Seite Vorlage:Description/doc eingebunden.

Vorlage:Description/doc<div style="clear:both;" /></div>