Template:Table cell templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>EdC~enwiki
No edit summary
Ookami (talk | contribs)
m 120 revisions imported
 
(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>

Latest revision as of 13:30, 3 September 2020

{{{1|{{{text}}}}}}