Template:Slotted image: Difference between revisions
From Space Station 14 Wiki
(Created page with "<templatestyles src="Slotted image/styles.css" /> alt=Node scanner equipment icon|84px|class=slotted-image <noinclude> {{docs|bb= {{uses template styles}} }} Category:Image templates <templatedata> { "params": {}, "description": "1" } </templatedata> </noinclude>") |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Slotted image/styles.css" /> | <includeonly><!-- | ||
[[File: | --><templatestyles src="Slotted image/styles.css" /><!-- | ||
<noinclude> | |||
-->[[File:{{{1}}}|alt={{{alt|}}}|{{{dims|64px}}}|class=slotted-image]]</includeonly><noinclude> | |||
{{docs|bb= | {{docs|bb= | ||
{{uses template styles}} | {{uses template styles}} | ||
Line 9: | Line 10: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": {}, | "params": { | ||
"description": "1" | "1": { | ||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"dims": { | |||
"label": "Dimensions", | |||
"description": "See the \"File:\" docs for details. ", | |||
"type": "line", | |||
"suggested": true, | |||
"default": "64px" | |||
}, | |||
"alt": { | |||
"label": "Alternative text", | |||
"type": "line", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Produces an image fitted inside a HUD slot UI element.", | |||
"paramOrder": [ | |||
"1", | |||
"dims", | |||
"alt" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 23:59, 14 August 2024
Uses template styles
This template uses template styles found in:
Examples
↓
Produces an image fitted inside a HUD slot UI element.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | 1 | no description | File | required |
Dimensions | dims | See the "File:" docs for details.
| Line | suggested |
Alternative text | alt | no description | Line | suggested |