Template:CategoryTable/en: Difference between revisions

FuzzyBot (talk | contribs)
Updating to match new version of source page
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 1: Line 1:
{{TemplateUsage
{{TemplateUsage
|usage=<pre>{{CategoryTable|Category|Text}}</pre>
|usage=<pre>{{CategoryTable|Category|Colspan}}</pre>
|description=Creates a table cell which links to a {{TransLink|Move category|Move category}} article with the corresponding type color background.
|description=Creates a table cell which links to a {{TransLink|Move category|Move category}} article with the corresponding category color background.
<b>Text</b> parameter is optional. It overrides the link's text.
<b>Colspan</b> parameter is optional (default value is 1). It specifies the number of columns the cell should span.
}}
}}


<onlyinclude>| style="text-align:center; background:#{{{{{1}}}Color}}"|{{TransLink|{{{1}}} move|{{Color|{{{1}}} textcolor|{{#invoke:Msg|msg|keywords|{{lc:{{{2|{{{1}}}}}}}}}}}}}}</onlyinclude>
<onlyinclude>| colspan="{{{Colspan|1}}}" style="text-align:center; background:#{{{{{1}}}Color}}"|{{TransLink|{{{1}}} move|{{Color|FFF|{{#invoke:Msg|msg|keywords|{{lc:{{{1}}}}}}}}}}}</onlyinclude>


{{BulbAttrib|Template:Statustable}}
{{BulbAttrib|Template:Typetable}}
[[Category:Table templates]]
[[Category:Table templates]]