Template:Icon

Revision as of 10:32, 28 April 2021 by Electricsheep (talk | contribs) (Created page with "<includeonly>{{#tag:span|{{#switch: {{lc: {{{1|}}}}} | indoor|indoors = frameless|{{{size|16}}}px|link=|alt=Indoor | outdoor|outdoors = Fi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Outputs an inline icon.

Function

{{Icon|code[|text=][|size=16]}}

Text

Where it makes sense for attached text to be wrapped into the same span tag as the icon:

This icon wraps additional {{Icon|Indoor|text=arbitrary text}} into its own span

This icon wraps additional Indoor arbitrary text into its own span

Icon size

Use optional size parameter to specify icon size in pixels if needed:

{{Icon|Indoor|size=32}}

Indoor


Icon names reference

Location types

Indoor Indoor

Outdoor Outdoor

Urban Urban