|
|
| (117 intermediate revisions by 55 users not shown) |
| Line 1: |
Line 1: |
| <includeonly><div class="notice" id="disambig">''This template documentation is [[Wikipedia:Template doc page pattern|transcluded]] from [[Template:Table cell templates]]'' <small>[<span class="plainlinks">[{{fullurl:Template:Table cell templates|action=edit}} edit]</span>]</small></div></includeonly><noinclude>{{template doc page viewed directly}} | | <noinclude> |
| {| class="messagebox standard-talk"
| | {| |
| |- style="vertical-align:top;text-align:center;" | | |</noinclude>{{#if:{{{sort|}}}|data-sort-value="<nowiki>{{{sort|</nowiki>{{{sort}}}<nowiki>}}}</nowiki>"}} style="background: {{{bg|<nowiki>{{/bgcolor}}</nowiki>}}}; color: {{{color|black}}}; vertical-align: {{{valign|middle}}}; text-align: <nowiki>{{{align|</nowiki>{{{align|center}}}<nowiki>}}}</nowiki>; <nowiki>{{{style|text-transform: capitalize;}}}</nowiki>" class="{{{class|{{BASEPAGENAME}}}}} table-{{{class|{{BASEPAGENAME}}}}}"| <nowiki>{{{1|</nowiki>{{{text}}}<nowiki>}}}</nowiki><noinclude> |
| | This page constitutes a mild abuse of [[Wikipedia:Template doc page pattern]], used here for a series of templates instead of a single template.
| |
| |} | | |} |
| | {{Documentation}} |
| | <!-- ADD CATEGORIES BELOW THIS LINE --> |
| | [[Category:Table cell templates]] |
| </noinclude> | | </noinclude> |
| <!-- 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.
| |
|
| |
| For example, {{[[Template:Yes|Yes]]}} makes a cell with a green background; the text in the cell is taken from the [[Help:Template#Parameters|template parameter]] and defaults to "Yes".
| |
|
| |
| ===Templates in this series===
| |
| :{| class="wikitable"
| |
| |-
| |
| ! Template !! Example
| |
| |-
| |
| | {{[[Template:Yes|Yes]]}} || {{Yes}}
| |
| |-
| |
| | {{[[Template:Yes|Yes]]|<nowiki>[[Example]] of alternate text</nowiki>}} || {{Yes|[[Example]] of alternate text}}
| |
| |-
| |
| | {{[[Template:No|No]]}} || {{No}}
| |
| |-
| |
| | {{[[Template:Yes-No|Yes-No]]}} || {{Yes-No}}
| |
| |-
| |
| | {{[[Template:But yes|But yes]]}} || {{But yes}}
| |
| |-
| |
| | {{[[Template:But no|But no]]}} || {{But no}}
| |
| |-
| |
| | {{[[Template:Partial|Partial]]}} || {{Partial}}
| |
| |-
| |
| |}
| |
|
| |
| <includeonly>
| |
| <!-- ADD CATEGORIES BELOW THIS LINE -->
| |
|
| |
| <!-- ADD INTERWIKIS BELOW THIS LINE -->
| |
|
| |
| </includeonly>
| |
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.