Template:Labeled icon/doc: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
added in text example
Aliser (talk | contribs)
added custom class example
 
Line 25: Line 25:
=== With zoom ===
=== With zoom ===
{{Labeled icon|Telecrystal-East-3069.png|32px|TC|zoom=24px}}
{{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).

Usage

todo

Example

Basic

{{Labeled icon|Gauze Icon.png|32px|Gauze}}

Gauze

In text

Roll of {{Labeled icon|Gauze Icon.png|32px|Gauze}} heals slash and piercing damage.

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 Icon.png|32px|Gauze|class=med-item}}

Gauze