Open main menu

UESPWiki β

Template:Icon Abbr

Due to the sensitive nature of this template or the fact that it is used on a large number of pages, it has been semi-protected to prevent site-wide damage by vandal bots.
Editors: In order to minimize the impact on our servers, please use sandboxes to make and test changes to widely used templates before deployment.
For more information, please see this article's talk page.

Summary

This template returns the full name from the standard set of abbreviations, along with the file name and, optionally, extension. The namespace will automatically be determined based on the page the icon was used on.

The template can be substituted (using {{subst:Icon Abbr}}). This produces the code directly rather than calling the template itself and is particularly important when a template is used repeatedly on the same page or inside another template.

Parameters

Icon Abbr
Parameter Scope Description
1 required An abbreviation indicating the type of icon. See below for a listing of abbreviations used. Alternatively, you can just put the whole word in, useful for cases where there is no abbreviation.
2 required The name of the item as it appears in the icon's file name.
3 optional The file extension to use. (Default: png)
ns_base optional Optional namespace to use for icons outside of their native namespace. Useful for using Morrowind, Oblivion, or Skyrim icons on their expansions' pages, for example, or using icons in Lore space. For sandboxes, you'll usually want to use the {{Sandbox Space}} template instead.

Icon Types

Abbr Full
a armor
ach achievement
b book
c clothing
d dish
e effect
f food
fi fish
furn furnishing
g glyph
i ingredient
Abbr Full
j jewelry
m misc
pm processed material
poi poison
pot potion
q quest
r runestone
re reagent
res resource
rm raw material
sc scroll
Abbr Full
sk skill
sm shadowmark
so solvent
sp spell
st stolen
sty style material
sy synergy
t tool
tr trait material
w weapon

Examples

{{Icon Abbr|st|Jar}}

ON-icon-stolen-Jar.png (if in Online space)