Template:CategoryTable: Difference between revisions
Created page with "<translate>{{TemplateUsage |usage=<pre>{{CategoryTable|Category|Text}}</pre> |description=Creates a table cell which links to a {{TransLink|Move category|Move category}} article with the corresponding type color background. <b>Text</b> parameter is optional. It overrides the link's text. }}</translate> <onlyinclude>| style="text-align:center; background:#{{{{{1}}}Color}}"|{{TransLink|{{{1}}} move|{{Color|{{{1}}} textcolor|{{{2|{{{1}}}}}}}}}}</onlyinclude> {{BulbAttrib|..." |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<translate>{{TemplateUsage | <translate><!--T:1--> | ||
|usage=<pre>{{CategoryTable|Category| | {{TemplateUsage | ||
|description=Creates a table cell which links to a {{TransLink|Move category|Move category}} article with the corresponding | |usage=<pre>{{CategoryTable|Category|Colspan}}</pre> | ||
<b> | |description=Creates a table cell which links to a {{TransLink|Move category|Move category}} article with the corresponding category color background. | ||
<b>Colspan</b> parameter is optional (default value is 1). It specifies the number of columns the cell should span. | |||
}}</translate> | }}</translate> | ||
<onlyinclude>| style="text-align:center; background:#{{{{{1}}} | <onlyinclude>| colspan="{{{Colspan|1}}}" style="text-align:center; background:#{{#invoke:Color|color|{{lc:{{{1}}}}}|color}}"|{{TransLink|{{{1}}} move|{{Color|{{#invoke:Color|color|{{lc:{{{1}}}}}|text}}|{{#invoke:Msg|msg|keywords|{{lc:{{{1}}}}}}}}}}}</onlyinclude> | ||
{{BulbAttrib|Template: | {{BulbAttrib|Template:Typetable}} | ||
[[Category:Table templates]] | [[Category:Table templates]] |