Template:Labeled icon/doc: Difference between revisions
From Space Station 14 Wiki
No edit summary |
added custom class example |
||
(5 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
== Example == | == Example == | ||
=== Basic === | === Basic === | ||
{{tji|Labeled icon|Gauze Icon.png|32px|Gauze}} | |||
{{gda}} | |||
{{Labeled icon|Gauze Icon.png|32px|Gauze}} | {{Labeled icon|Gauze Icon.png|32px|Gauze}} | ||
==== In text ==== | |||
{{kbd|Roll of {{tji|Labeled icon|Gauze Icon.png|32px|Gauze}} heals slash and piercing damage.}} | |||
{{gda}} | |||
Roll of {{Labeled icon|Gauze Icon.png|32px|Gauze}} heals slash and piercing damage. | |||
=== With a link === | |||
todo | |||
=== With zoom === | |||
{{Labeled icon|Telecrystal-East-3069.png|32px|TC|zoom=24px}} | |||
=== With a custom class === | |||
Can be seen with dev tools. | |||
{{tji|Labeled icon|Gauze Icon.png|32px|Gauze|class:med-item}} | |||
{{gda}} | |||
{{Labeled icon|Gauze Icon.png|32px|Gauze|class=med-item}} |
Latest revision as of 04:19, 2 April 2025
Tip
It's recommended to use one of the derivative template, is possible.
This template is meant to be used either inside other templates or in cases where there's no specific template for a use case (in which case one should be created, if there's enough usages).
This template is meant to be used either inside other templates or in cases where there's no specific template for a use case (in which case one should be created, if there's enough usages).
Usage
todo
Example
Basic
{{Labeled icon
↓
Gauze
In text
Roll of {{Labeled icon
↓
Roll of Gauze heals slash and piercing damage.
With a link
todo
With zoom
TC
With a custom class
Can be seen with dev tools.
{{Labeled icon
↓
Gauze