Difference between revisions of "Template:Yes-No"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(created)
 
(fix examples)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
style="background: #dddddd; text-align: center" | Yes/No<noinclude>
+
<includeonly>style="background: #ffffdd; color: black; text-align: center" | {{{1|Yes/No}}}</includeonly><noinclude>
 
----
 
----
This template is designed to be used in a table to make a cell with "Yes/No" in that cell, with a grey background.
+
This template is designed to be used in a table to make a cell with "Yes/No" in that cell, with a light yellow background.
 +
 
 +
To specify a different text, use like this: <code><nowiki>{{Yes-No|Some [[alternate]] text}}</nowiki></code>
  
 
== Example ==
 
== Example ==
 
{|style="font-size: 85%; text-align: center;" class="wikitable"
 
{|style="font-size: 85%; text-align: center;" class="wikitable"
 
|Example:
 
|Example:
|{{yesno}}
+
|{{Yes-No}}
 +
|-
 +
|Example 2:
 +
|{{Yes-No|Partial}}
 
|}
 
|}
 
== See also ==
 
== See also ==

Latest revision as of 21:37, 27 January 2008


This template is designed to be used in a table to make a cell with "Yes/No" in that cell, with a light yellow background.

To specify a different text, use like this: {{Yes-No|Some [[alternate]] text}}

Example[edit]

Example: Yes/No
Example 2: Partial

See also[edit]