Template:Yea: Difference between revisions
From Inkipedia, the Splatoon wiki
m (-templates cat) |
(Upon review, it was only userspace custom tables that had a contrast problem; they were not using the default white for cells, so the contrast problem was self-inflicted. Further, the inverted style looked bad for tables using the default style. So, I am relegating the inverted contrast style to a parameter.) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
|</noinclude>style="background-color:#D2FFD2; text-align: center;" | <span style="color: #008000;">'''✓'''</span><noinclude> | |</noinclude>style="background-color: #{{#switch: {{{1}}} | dark = 008000 | #default = D2FFD2 }}; text-align: center;" | <span style="color: #{{#switch: {{{1}}} | dark = D2FFD2 | #default = 008000 }};">'''✓'''</span><noinclude> | ||
|} | |||
For an X, see [[Template:Nay]]. | |||
== Usage == | |||
For a normal cell, type: <code><nowiki>{{yea}}</nowiki></code> | |||
For a darker cell, type: <code><nowiki>{{yea|dark}}</nowiki></code> | |||
{| class="wikitable" | |||
|- | |||
| {{yea|dark}} | |||
|} | |} | ||
[[Category:Table cell templates]] | [[Category:Table cell templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:35, 25 July 2024
This template makes a table cell look like this:
✓ |
For an X, see Template:Nay.
Usage
For a normal cell, type: {{yea}}
For a darker cell, type: {{yea|dark}}
✓ |