Difference between revisions of "Template:Yes-No"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
m (Template:Yesno moved to Template:Yes-No: better name)
(fix examples)
 
Line 3: Line 3:
 
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.
 
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: <nowiki>{{Yesno|Some [[alternate]] text}}</nowiki>
+
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]