.

Template:Table cell templates: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:
</noinclude>
</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
These templates are designed to be used in a [[Help:Table|table]] to make a cell with text in that cell, with an appropriately coloured background.
These templates are designed to be used in a table to make a cell with text in that cell, with an appropriately coloured background.


For example, {{[[Template:Yes|Yes]]}} makes a cell with a green background; the text in the cell is taken from the template parameter and defaults to "Yes".
For example, {{[[Template:Yes|Yes]]}} makes a cell with a green background; the text in the cell is taken from the template parameter and defaults to "Yes".

Revision as of 02:38, 12 January 2007

Template:Template doc page viewed directly

This page constitutes a mild abuse of Wikipedia:Template doc page pattern, used here for a series of templates instead of a single template.

These templates are designed to be used in a table to make a cell with text in that cell, with an appropriately coloured background.

For example, {{Yes}} makes a cell with a green background; the text in the cell is taken from the template parameter and defaults to "Yes".

Templates in this series

Template Example
{{Yes}} Yes
{{Yes|[[Example]] of alternate text}} Example of alternate text
{{No}} No
{{Yes-No}} Yes/No
{{But yes}} Yes
{{But no}} No
{{Partial}} Partial