Template:Icon: Difference between revisions
From Space Station 14 Wiki
|
|
Line 1: |
Line 1: |
| <includeonly><!--
| | {{for deletion|obsolete}} |
| -->{{#vardefine: icon_size|{{{size|24px}}}}}<!--
| |
| | |
| -->{{#vardefine: icon_file
| |
| |{{#switch: {{lc: {{{1}}}}}
| |
| | lv cable coil | |
| | lv
| |
| | lv cable coil 30x
| |
| | lv 30x = Coillv-30.png
| |
| | |
| | lv cable coil 10x
| |
| | lv 10x = Coillv-10.png
| |
| | |
| | lv cable coil 20x
| |
| | lv 20x = Coillv-20.png
| |
| | |
| | mv cable coil
| |
| | mv
| |
| | mv cable coil 30x
| |
| | mv 30x = Coilmv-30.png
| |
| | |
| | mv cable coil 10x
| |
| | mv 10x = Coilmv-10.png
| |
| | |
| | mv cable coil 20x
| |
| | mv 20x = Coilmv-20.png
| |
| | |
| | hv cable coil
| |
| | hv
| |
| | hv cable coil 30x
| |
| | hv 30x = Coilhv-30.png
| |
| | |
| | hv cable coil 10x
| |
| | hv 10x = Coilhv-10.png
| |
| | |
| | hv cable coil 20x
| |
| | hv 20x = Coilhv-20.png
| |
| }}}}<!--
| |
| | |
| --><span><!--
| |
| -->{{#if: {{{left|}}}|<span class="icon-left-label">{{{left}}}</span>}}<!--
| |
| --><span class="icon">[[File:{{#var:icon_file}}|{{#var: icon_size}}]]</span><!--
| |
| -->{{#if: {{{right|}}}|<span class="icon-right-label">{{{right}}}</span>}}<!--
| |
| --></span</includeonly>
| |
| <noinclude>
| |
| <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
| |
| },
| |
| "right": {
| |
| "label": "Right label",
| |
| "description": "Label to the right of icon",
| |
| "type": "line",
| |
| "suggested": true
| |
| },
| |
| "left": {
| |
| "label": "Left label",
| |
| "type": "line",
| |
| "suggested": true
| |
| }
| |
| },
| |
| "paramOrder": [
| |
| "1",
| |
| "right",
| |
| "left",
| |
| "size"
| |
| ]
| |
| } | |
| </templatedata>
| |
| </noinclude>
| |
Latest revision as of 08:28, 24 August 2024