Difference between revisions of "Template:Infobox element/category format"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 2: Line 2:
 
  the box -->{{#switch:{{lc:{{{category|}}}}}
 
  the box -->{{#switch:{{lc:{{{category|}}}}}
 
| unknown | =
 
| unknown | =
| <span title="color legend: {{{category|}}}" style="display:inline-block; vertical-align:middle; width:6px; height:8px; border:1px solid black; background:{{element color|1={{{category|}}}}}">&nbsp;</span> <!--
+
| #default=<span title="color legend: {{{category|}}}" style="display:inline-block; vertical-align:middle; width:6px; height:8px; border:1px solid black; background:{{element color|1={{{category|}}}}}">&nbsp;</span> <!--
 
  the text
 
  the text
 
-->{{#if:{{#invoke:String|match|s={{{category|}}} |pattern=[Uu]nknown |plain=false |nomatch=}}
 
-->{{#if:{{#invoke:String|match|s={{{category|}}} |pattern=[Uu]nknown |plain=false |nomatch=}}

Revision as of 20:33, 18 September 2017

50px Template documentation[create]