Jump to content

Template:TypeTable: Difference between revisions

From PokeHero Official Wiki
Created page with "<translate> {{TemplateUsage |usage=<pre>{{TypeTable|Type|Colspan}}</pre> |description=Creates a table cell which links to a {{TransLink|Type|Type}} article with the corresponding type color background. <b>Colspan</b> parameter is optional (default value is 1). It specifies the number of columns the cell should span. }}</translate> <onlyinclude>| colspan="{{{Colspan|1}}}" style="text-align:center; background:#{{{{{1}}}Color}}"|{{TransLink|{{{1}}} (type)|{{Color|FFF|{{{1}..."
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<translate>
<translate>
<!--T:1-->
{{TemplateUsage
{{TemplateUsage
|usage=<pre>{{TypeTable|Type|Colspan}}</pre>
|usage=<pre>{{TypeTable|Type|Colspan}}</pre>
Line 6: Line 7:
}}</translate>
}}</translate>


<onlyinclude>| colspan="{{{Colspan|1}}}" style="text-align:center; background:#{{{{{1}}}Color}}"|{{TransLink|{{{1}}} (type)|{{Color|FFF|{{{1}}}}}}}</onlyinclude>
<onlyinclude>| colspan="{{{Colspan|1}}}" style="text-align:center; background:#{{#invoke:Color|color|{{lc:{{{1}}}}}|color}}"|{{TransLink|{{{1}}} (type)|{{Color|{{#invoke:Color|color|{{lc:{{{1}}}}}|text}}|{{#invoke:Msg|msg|types|{{lc:{{{1}}}}}}}}}}}</onlyinclude>


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

Latest revision as of 17:54, 20 September 2025

Usage
{{TypeTable|Type|Colspan}}
Description Creates a table cell which links to a Type article with the corresponding type color background.

Colspan parameter is optional (default value is 1). It specifies the number of columns the cell should span.

| colspan="1" style="text-align:center; background:#pokehero-color-{{{1}}} (missing key in Module:Color/keywords)"|[[Special:MyLanguage/{{{1}}} (type)|pokehero-types-{{{1}}} (missing key in category types)]]