Ŝablono:Description

El Komunejo

(Malsamoj inter versioj)
Iri al: navigado, serĉi
E (revert <sup>, looks ugly)
E (43 versioj: Helpa ŝablono)
 
(20 mezaj versioj ne montrata.)
Linio 1: Linio 1:
-
<p class="description {{{1}}}" lang="{{{4|{{{1}}}}}}"><span class="language" title="{{{name|{{{3|}}}}}}">'''{{#language:{{{1}}}}}:'''</span> <span class="text" lang="{{{4|{{{1}}}}}}">{{{2|}}}</span></p>
+
<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>
-
<noinclude>[[Category:Internationalization templates]]</noinclude>
+
----
 +
Parameters:
 +
*1=wikicode for the language and name of the CSS formating class (mandatory)
 +
*2=description text (optional, default is empty)
 +
*3=title for tooltip (optional, default is empty)
 +
**name=alternative parameter name for parameter 3
 +
*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)
 +
*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)
 +
 
 +
[[Category:Internationalization templates]]
 +
</noinclude>

Nuna versio ekde 20:27, 11. Jan 2010


Parameters:

  • 1=wikicode for the language and name of the CSS formating class (mandatory)
  • 2=description text (optional, default is empty)
  • 3=title for tooltip (optional, default is empty)
    • name=alternative parameter name for parameter 3
  • 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)
  • 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)
Personaj iloj