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:Node scanner.png|alt=Node scanner equipment icon|84px|class=slotted-image]]
--><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

Template documentation
view or edit this documentation about template documentation
Uses template styles
This template uses template styles found in:

Examples

{{Slotted image
| Node scanner.png
| dims = 84px
| alt = Node scanner equipment icon
}}

Node scanner equipment icon

Produces an image fitted inside a HUD slot UI element.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Image1

no description

Filerequired
Dimensionsdims

See the "File:" docs for details.

Default
64px
Linesuggested
Alternative textalt

no description

Linesuggested