Template:YesNo: Difference between revisions

From Red Faction Wiki
(Created page with "<includeonly>{{#switch: {{{1|}}} | y = style="color: green"{{!}}☑ | n = style="color: red"{{!}}☒ | N/A }}</includeonly><noinclude> A template to create a colored cross or tick. Created for use in table cells. * y = <span style="color: green">☑</span> * n = <span style="color: red">☒</span> '''Usage:''' {| class="wikitable" |<nowiki>{{YesNo|y}}</nowiki> |<nowiki>{{YesNo|n}}</nowiki> |} '''Output:''' {| class="wikitable" |{{YesNo|y}} |{{YesNo|n}} |} Ca...")
 
mNo edit summary
Line 7: Line 7:
A template to create a colored cross or tick. Created for use in table cells.
A template to create a colored cross or tick. Created for use in table cells.


* y = <span style="color: green">☑</span>
* y = <span style="color: white; background-color:MediumSeaGreen;">☑</span>
* n = <span style="color: red">☒</span>
* n = <span style="color: white; background-color:IndianRed">☒</span>


'''Usage:'''
'''Usage:'''

Revision as of 10:44, 2 January 2024


A template to create a colored cross or tick. Created for use in table cells.

  • y =
  • n =

Usage:

{{YesNo|y}} {{YesNo|n}}

Output: