Template:Item: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
m (Added font-size if there is no file or pagelink for the item.)
m (Removed extra line break.)
Line 10: Line 10:
| <span style="position: absolute; bottom: 0px; right: 5px; color: white; font-weight: bold; font-size: 14px; text-shadow: 2px 2px 5px black;">{{{num|0}}}</span>
| <span style="position: absolute; bottom: 0px; right: 5px; color: white; font-weight: bold; font-size: 14px; text-shadow: 2px 2px 5px black;">{{{num|0}}}</span>
|}
|}
<noinclude>
<noinclude>
<templatedata>
<templatedata>

Revision as of 22:19, 3 April 2025

0

This template renders an item icon.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
namename

The item's page name is listed here and will direct the user to that page upon click.

Page namesuggested
imgimg

The item icon image is listed here. Do not use the "File:" prefix.

Default
Item_Skill_Pearl.png
Example
Item_Icon.png
Filesuggested
rarityrarity

The rarity determines the background color of the icon.

Default
background: radial-gradient(circle, white, lightgray);
Stringsuggested
quantitynum

The quantity of the item is listed here.

Default
0
Numbersuggested

How to use:

{{Item
  | name   =
  | img    =
  | rarity =
  | num    =
}}