Template:Icon/doc

From Paw Borough Wiki
Revision as of 19:30, 1 May 2026 by Whimsy (talk | contribs) (Created page with "==Usage== Use <nowiki>{{Icon}}</nowiki> to create a link with an image: {{Icon|Lunasagi}}. Use |img= for an icon whose file name is different from their pagename. Use |txt= for text that doesn't match the pagename, such as plurals. Leave |link= to remove link, overrides link if not empty. ==Syntax== <pre>{{Icon|}}</pre> <pre>{{Icon | | |img= |txt= |link= }}</pre> ==Examples== {{Icon|Scraps}} <pre>{{Icon|Scraps}}</pre> {{Icon|food|txt=Food Items}} <pre>{{Icon|food|txt=Fo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Use {{Icon}} to create a link with an image:  Lunasagi. Use |img= for an icon whose file name is different from their pagename. Use |txt= for text that doesn't match the pagename, such as plurals. Leave |link= to remove link, overrides link if not empty.

Syntax

{{Icon|}}
{{Icon
|
|
|img=
|txt=
|link=
}}

Examples

 Scraps

{{Icon|Scraps}}

 Food Items

{{Icon|food|txt=Food Items}}

 Lunasagi

{{Icon|Lunasagi|x50px}}

No description.

Template parameters

ParameterDescriptionTypeStatus
11

The item's name to link to. Default for link and image. Case sensitive for file name.

Unknownrequired
22

File size.

Default
20px
Unknownoptional
imgimg

Overrides image. Case sensitive.

Unknownoptional
linklink

Leave empty to remove link, overrides link if not empty.

Unknownoptional
txttxt

Overrides displayed linked text.

Unknownoptional

Modified from Flight Rising Wiki.