Open main menu

UESPWiki β

Template:Merc

Summary

This template is used for formatting the Mercantile values for Merchants. It will automatically format the color and give a rank based on the value, and place the Merchant page into the relevant category. The values depend on which game the NPC is in. They are:

Morrowind (and expansions) Oblivion (and expansions)
0 Creature
1-14 Novice 0-24 Novice
15-29 Apprentice 25-49 Apprentice
30-44 Journeyman 50-74 Journeyman
45-59 Expert 75-99 Expert
60-100 Master 100 Master

Parameters

Merc
Parameter Scope Description
1 or
merc
required Mercantile value. This must be a number between 0 and 100. Other values will be displayed unaltered.
2 or
nocat
optional Set to any value to omit the category declaration. Categories will always be omitted in User and Template space.
3 or
sortable
optional Set to any value to use the {{sort}} template; enable this when the Mercantile value is part of a sortable table.

Examples

Default

{{merc|50}}

Journeyman (50)

  • Added to Oblivion-Merchants-Journeyman category on an Oblivion article.

With nocat Option

{{merc|50|n}}

Journeyman (50)

  • Not added to any category.

With sortable Option

{|class="sortable wikitable"
|+Sortable Option
!Disabled!!Enabled
|-
|{{merc|0|n}}||{{merc|0|n|s}}
|-
|{{merc|50|n}}||{{merc|50|n|s}}
|-
|{{merc|100|n}}||{{merc|100|n|s}}
|}
Sortable Option
Disabled Enabled
Novice (0) Novice (0)
Journeyman (50) Journeyman (50)
Master (100) Master (100)
  • Enable option to sort numerically instead of alphabetically