Difference between revisions of "Template:CommonInfo/Line"

From JaWiki (Jabber/XMPP wiki)
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>|- class=iLine
 
<includeonly>|- class=iLine
 
|class=iParam|{{{1}}}
 
|class=iParam|{{{1}}}
|class=iValue|{{{2}}}
+
|class=iValue|{{#switch: {{{2}}}
 +
| +
 +
| да
 +
| yes = <span style="color:green">{{{2}}}</span>
 +
| -
 +
| нет
 +
| no = <span style="color:red">{{{2}}}</span>
 +
| default = {{{2}}}
 +
}}
 
|-
 
|-
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 09:00, 10 July 2009

Применение:

  {{CommonInfo/Line|param|value}}
  {{CommonInfo/Line|param|2=value=3}}