Template:Item icon: Difference between revisions

From Space Station 14 Wiki
Template:Item icon
(Created page with "<includeonly><!-- -->{{#vardefine: icon_size|{{{size|24px}}}}}<!-- -->{{#switch: {{lc: {{{1}}}}} | lv cable coil | lv | lv cable coil 30x | lv 30x = {{#vardefine: icon_file|Coillv-30.png}} {{#vardefine: icon_label|LV cable coil (30)}} | lv cable coil 10x | lv 10x = {{#vardefine: icon_file|Coillv-10.png}} {{#vardefine: icon_label|LV cable coil (10)}} | lv cable coil 20x | lv 20x = {{#vardefine: icon_file|Coillv-20.png}} {{#vardefine: icon_label|LV cable coil (20...")
 
(fix)
Tag: Redirect target changed
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
#REDIRECT [[Template:Item]]
-->{{#vardefine: icon_size|{{{size|24px}}}}}<!--
 
-->{{#switch: {{lc: {{{1}}}}}
| lv cable coil
| lv
| lv cable coil 30x
| lv 30x =
{{#vardefine: icon_file|Coillv-30.png}}
{{#vardefine: icon_label|LV cable coil (30)}}
 
| lv cable coil 10x
| lv 10x =
{{#vardefine: icon_file|Coillv-10.png}}
{{#vardefine: icon_label|LV cable coil (10)}}
 
| lv cable coil 20x
| lv 20x =
{{#vardefine: icon_file|Coillv-20.png}}
{{#vardefine: icon_label|LV cable coil (20)}}
 
| mv cable coil
| mv
| mv cable coil 30x
| mv 30x =
{{#vardefine: icon_file|Coilmv-30.png}}
{{#vardefine: icon_label|MV cable coil (30)}}
 
| mv cable coil 10x
| mv 10x =
{{#vardefine: icon_file|Coilmv-10.png}}
{{#vardefine: icon_label|MV cable coil (10)}}
 
| mv cable coil 20x
| mv 20x =
{{#vardefine: icon_file|Coilmv-20.png}}
{{#vardefine: icon_label|MV cable coil (20)}}
 
| hv cable coil
| hv
| hv cable coil 30x
| hv 30x =
{{#vardefine: icon_file|Coilhv-30.png}}
{{#vardefine: icon_label|HV cable coil (30)}}
 
| hv cable coil 10x
| hv 10x =
{{#vardefine: icon_file|Coilhv-10.png}}
{{#vardefine: icon_label|HV cable coil (10)}}
 
| hv cable coil 20x
| hv 20x =
{{#vardefine: icon_file|Coilhv-20.png}}
{{#vardefine: icon_label|HV cable coil (20)}}
}}<!--
 
--><span class="item-icon"><!--
    --><span class="item-icon-icon">[[File:{{#var:icon_file}}|{{#var: icon_size}}]]</span><!--
    --><span class="item-icon-label">'''{{#var:icon_label}}'''</span><!--
--></span></includeonly><noinclude>
{{docs}}
 
[[Category:Image templates]]
<templatedata>
{
"params": {
"1": {
"label": "Item",
"description": "What item are you looking for? Select from the list. Any casing is allowed, including lowercase.",
"type": "line",
"suggestedvalues": [
"LV cable coil",
"LV",
"LV cable coil 10x",
"LV 10x",
"LV cable coil 20x",
"LV 20x",
"LV cable coil 30x",
"LV 30x",
"MV cable coil",
"MV",
"MV cable coil 10x",
"MV 10x",
"MV cable coil 20x",
"MV 20x",
"MV cable coil 30x",
"MV 30x",
"HV cable coil",
"HV",
"HV cable coil 10x",
"HV 10x",
"HV cable coil 20x",
"HV 20x",
"HV cable coil 30x",
"HV 30x"
],
"required": true
},
"size": {
"label": "Size",
"description": "Icon size",
"type": "line",
"default": "24px",
"suggested": true
}
},
"paramOrder": [
"1",
"size"
]
}
</templatedata>
</noinclude>

Latest revision as of 07:49, 17 August 2024

Redirect to: