Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Template:Item link

From The Escapists Wiki
Jump to: navigation, search

[[File:{{{1}}}.png|link={{{1}}}|32px]] [[{{{1}}}|{{{1}}}]]

Description[edit source]

{{item link|<item name>|size=|disp=}}

Displays a link to the item and adds a item icon in front of it.

Parameters[edit source]

<item name>
The name of the item as it appears on its wiki page URL (without underscores). The name must use the same capital letters and other punctuation for the template to work correctly.
size
Optional parameter to set the width.
format
Optional parameter to set the picture format. (Default: png)
alt_img
Optional parameter if the image being used does not match the item name
disp
Optional parameter to set specified alternative name for displaying.

Examples[edit source]

  • Inmate Outfit.png Inmate Outfit <-- is produced from {{item link|Inmate Outfit|size=0-90px}}
  • Inmate Outfit.png Inmate Outfit <-- is produced from {{item link|Inmate Outfit}}
  • Inmate Outfit.png Default Outfit <-- is produced from {{item link|Inmate Outfit|disp=Default Outfit}}
  • Inmate Outfit.png Inmate Outfit <-- is produced from {{item link|Inmate Outfit|size=16px}}
  • Key.gif Inmate Outfit <-- is produced from {{item link|Inmate Outfit|size=16px|alt_img=key.gif}}
  • Inmate Outfit.png Default Outfit <-- is produced from {{item link|Inmate Outfit|size=24px|disp=Default Outfit}}
  • Key.gif Default Outfit <-- is produced from {{item link|Inmate Outfit|size=24px|alt_img=key.gif|disp=Default Outfit}}

Notes[edit source]

To avoid html bloat, item link is not in a "nowrap". If you wish for a nowrap effect, please add them to the general table style.