Template:Table cell templates/doc: Difference between revisions
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
Line 1:
<noinclude>{{Documentation subpage}}</noinclude>{{Commons Import}}
{{#ifeq:{{FULLPAGENAME}}|Template:BLACK|{{For|the text color template|Template:Black}}|{{#ifeq:{{FULLPAGENAME}}|Template:Ya|{{For|the template with a smaller tick and no green background|Template:Aye}}|{{#ifeq:{{FULLPAGENAME}}|Template:Maybe|{{For|the yellow tick template|Template:Mby}}}}}}}}
The templates in this series are designed to be used in a [[Help:Table|table]] to make a cell with text in that cell, with an appropriately colored background. They are commonly used in [[Wikipedia:Category:Comparisons|comparison tables]].
For example, {{Tlc|yes}} makes a cell with a green background. The text in the cell is taken from the [[Wikipedia:Help:
{{Warnsign|Important:}} If you want to use other attributes for the table cells, ''e.g.'' <code>colspan</code>, <code>rowspan</code>, or <code>style</code>, they need to be put before the template call, and there must be '''no vertical bar (aka pipe) <code>|</code>''' in-between them:
Line 86:
== See also ==
For more detail see wikipedia page [[wikipedia:Template:Table cell templates]]
== Notes ==
| |||