Template:Icon

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Summary[edit]

This template allows you to simply place an icon on a page using only the item name and an abbreviation indicating its type. The namespace will automatically be determined based on the page the icon was used on. This template can also be substituted to produce a direct link to the image.

Parameters[edit]

Icon
Parameter Scope Description
1 required An abbreviation indicating the type of icon. See below for a listing of abbreviations used per game. 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 or size optional The horizontal size in pixels of the icon. Defaults to 48px.
4 or ext optional The file extension to use. Defaults to png.
al optional Alignment of the image or other extended formatting. See Wikipedia's image help for details.
ns_base optional Optional namespace to use 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.

Icon Types[edit]

Morrowind* Oblivion* Skyrim Online
a armor
b book
c clothing
e effect
i ingredient
j jewelry
t tool
w weapon
pot potion
a armor
b book
c clothing
d dish
j jewelry
m misc
w weapon
a armor
b book
c clothing
f food
i ingredient
j jewelry
m misc
poi poison
pot potion
sc scroll
sm shadowmark
w weapon
sp spell
a armor
b book
f food
g glyph
j jewelry
m misc
p pet
pm processed material
poi poison
pot potion
q quest
r runestone
re reagent
rm raw material
sk skill
so solvent
st stolen
sty style material
tr trait material
w weapon

* Currently Morrowind and Oblivion are only partially supported.

Examples[edit]

{{Icon|st|Jar|al=middle}}

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

{{subst:Icon|st|Jar|al=middle}}

ON-icon-stolen-Jar.png if in Online space (as [[File:ON-icon-stolen-Jar.png|48px|middle]])