Template:Icon: Difference between revisions

From Space Station 14 Wiki
(Created page with "<includeonly><!-- -->{{#vardefine: icon_size|24px}}<!-- -->{{#vardefine: icon_file |{{#switch: {{lc: {{{1}}}}} | lv cable coil | lv = | mv cable coil | mv = | hv cable coil | hv = }}}}<!-- --></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",...")
 
(wip)
Line 5: Line 5:
|{{#switch: {{lc: {{{1}}}}}
|{{#switch: {{lc: {{{1}}}}}
| lv cable coil
| lv cable coil
| lv =
| lv  
| lv cable coil 30x
| lv 30x = Coillv-30.png


| mv cable coil
| mv cable coil
| mv =
| mv  
| mv cable coil 30x
| mv 30x = Coilmv-30.png


| hv cable coil
| hv cable coil
| hv =
| hv  
| hv cable coil 30x
| hv 30x = Coilhv-30.png
}}}}<!--
}}}}<!--


Line 32: Line 38:
],
],
"required": true
"required": true
},
"rlabel": {
"aliases": [
"rtext",
"rt"
],
"label": "Right label",
"description": "Label to the right of icon",
"type": "line",
"suggested": true
},
"llabel": {
"aliases": [
"ltext",
"lt"
],
"label": "Left label",
"type": "line",
"suggested": true
},
"size": {
"label": "Size",
"description": "Icon size",
"type": "line",
"default": "24px",
"suggested": true
}
}
}
},
"paramOrder": [
"1",
"rlabel",
"llabel",
"size"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 00:41, 15 August 2024


No description.

Template parameters

ParameterDescriptionTypeStatus
Item1

What item are you looking for? Select from the list. Any casing is allowed, including lowercase.

Suggested values
LV cable coil LV MV cable coil MV HV cable coil HV
Linerequired
Right labelrlabel rtext rt

Label to the right of icon

Linesuggested
Left labelllabel ltext lt

no description

Linesuggested
Sizesize

Icon size

Default
24px
Linesuggested