Open main menu

UESPWiki β

Template:Mod Header

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 places one or more mod icons on the top right of the screen. On the main page for a mod, it can also be used to save information about the mod for use on other pages.

Parameters

Mod Header
Parameter Scope Description
1+ required The page names of one or more mods (minus the namespace—use ns_base for that, if needed). The referenced page(s) must contain a {{Mod Header}} with any necessary mod data (see below) included in it, or {{Online DLC Summary}}. Note that in ESO space, Online:DLC will automatically be checked for the named mod first, then if not found there, Online:Mod Name will be checked.
ns_base optional Namespace of the mod page(s). Defaults to NAMESPACE if not specified.
Mod Data
If any of these are specified, all of them will be evaluated and saved. These should only be used on a mod's base page, nowhere else.
icon optional The file name of the icon.
iconSize optional The size of the icon in px (without the "px" at the end).
modlabel optional The label for the mod (default: page name stripped of any disambiguation).
shortcut optional The shortcut template for the mod. Note that, like all saved data, even if a template is specified, it will be expanded to hardcoded wiki code on saving. In the event that the wiki code changes, it may take some time to propagate to all pages.

Example: {{CC|Saints & Seducers}} will be saved as <sup style="line-height:1.0">[[Skyrim:Saints & Seducers|CC]]</sup>.

default optional Specify any value to force all mod data to use the default values. It allows the template to determine and update whatever values need to be saved without having to specify any of them redundantly.
inherit optional If specified, this will take all of the above values from the parent page itself instead of needing to pass them to the template.

Returns

On dedicated mod pages (i.e., where only a single mod is specified in the Mod Header call), the root page of the mod will be returned in modheaderpage for other templates to use.

Example

{{Mod Header|Dragonhold|Thieves Guild}}

In Online space, places the icons seen at the top right of this page.

Notes

  • Where the mod's page name is different from the parameter used for this template, the list of exceptions under {{Mod Header/Indicator}} needs to be updated. For example, {{Mod Header|Markarth}} links to Online:Markarth (DLC).