Template:SkyTempleIcon: Difference between revisions
Created page with "<includeonly><span class="skytemple-icon {{{icon}}}"></includeonly><noinclude> This template can be used to insert an UI icon. See SkyTemple:Icons on how to use this correctly. The icon is displayed inline with the text. <templatedata> { "description": "SkyTemple UI Icon", "params": { "icon": { "label": "Icon", "description": "The icon to display. See [https://github.com/SkyTemple/skytemple-icons/tree/main/skytemple_icons/hicolor/512x512/apps|th..." |
m Remove non-symbolic icons |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span class="skytemple-icon {{{icon}}}"></includeonly><noinclude> | <includeonly><templatestyles src="SkyTempleIcon/styles.css"/><span class="skytemple-icon {{{icon}}}"></span></includeonly><noinclude> | ||
This template can be used to insert an UI icon. See [[SkyTemple:Icons]] on how to use this correctly. | This template can be used to insert an UI icon. See [[SkyTemple:Icons]] on how to use this correctly. | ||
Line 12: | Line 12: | ||
"description": "The icon to display. See [https://github.com/SkyTemple/skytemple-icons/tree/main/skytemple_icons/hicolor/512x512/apps|the GitHub repository].", | "description": "The icon to display. See [https://github.com/SkyTemple/skytemple-icons/tree/main/skytemple_icons/hicolor/512x512/apps|the GitHub repository].", | ||
"type": "string", | "type": "string", | ||
"required": true, | |||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"skytemple-action-unavailable-symbolic", | "skytemple-action-unavailable-symbolic", | ||
Line 66: | Line 67: | ||
"skytemple-go-up-symbolic", | "skytemple-go-up-symbolic", | ||
"skytemple-help-about-symbolic", | "skytemple-help-about-symbolic", | ||
"skytemple-image-loading-symbolic", | "skytemple-image-loading-symbolic", | ||
"skytemple-img-load-error-symbolic", | "skytemple-img-load-error-symbolic", |
Latest revision as of 18:51, 23 August 2023
This template can be used to insert an UI icon. See SkyTemple:Icons on how to use this correctly.
The icon is displayed inline with the text.
SkyTemple UI Icon
Parameter | Description | Type | Status | |
---|---|---|---|---|
Icon | icon | The icon to display. See [https://github.com/SkyTemple/skytemple-icons/tree/main/skytemple_icons/hicolor/512x512/apps|the GitHub repository].
| String | required |