Difference between revisions of "Template:Infobox element/category format"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{#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|}}}}}"> </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|}}}}}"> </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=}} | ||