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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item | 1 | What item are you looking for? Select from the list. Any casing is allowed, including lowercase.
| Line | required |
Right label | rlabel rtext rt | Label to the right of icon | Line | suggested |
Left label | llabel ltext lt | no description | Line | suggested |
Size | size | Icon size
| Line | suggested |