Difference between revisions of "Template:Yes-No"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(created)
 
(change color; added ability to change text)
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: <nowiki>{{Yesno|Some [[alternate]] text}}</nowiki>
  
 
== Example ==
 
== Example ==

Revision as of 21:31, 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: {{Yesno|Some [[alternate]] text}}

Example

Example: Yes/No

See also