Template:NS Docs

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

Summary[edit]

This template is generic documentation intended for transclusion into all namespace shortcut templates, including:

  • {{AR}} - Arena
  • {{BL}} - Blades
  • {{BM}} - Bloodmoon
  • {{BS}} - Battlespire
  • {{BS5}} - Beyond Skyrim
  • {{DF}} - Daggerfall
  • {{DFU}} - Daggerfall Unity
  • {{DS}} - Dawnstar
  • {{LG}} - Legends
  • {{MW}} - Morrowind
  • {{OB}} - Oblivion
  • {{OM}} - Oblivion Mobile
  • {{ON}} - Elder Scrolls Online
  • {{PC3}} - Province: Cyrodiil
  • {{RG}} - Redguard
  • {{SHOTN}} - Skyrim: Home of the Nords
  • {{SH}} - Stormhold
  • {{SI}} - Shivering Isles
  • {{SK}} - Shadowkey
  • {{SR}} - Skyrim
  • {{TD3}} - Tamriel Data
  • {{TR}} - Tribunal
  • {{TR3}} - Tamriel Rebuilt
  • {{TR4}} - Stirk

Parameters[edit]

NS Docs
Parameter Scope Description
shortname optional The name of the template and namespace shortcut (currently, must be the same for both). (Defaults to {{BASEPAGENAME}}.)
nsname optional The full name of the namespace. (Defaults to full name of shortname namespace.)
fullname optional The user-friendly name of the namespace. (Defaults to nsname.)
mainpage optional The name of the main page for the namespace. (Defaults to nsname.)
samppage optional The page to use in the example. (Defaults to "Items".)

Example[edit]

{{NS Docs|shortname=OB}}

Summary

This is a dual-purpose template.

  • If used without a parameter, it will simply display a superscript OB that links to the Oblivion main page. This form should only be used outside of the Oblivion namespace.
  • If a parameter is supplied, it will instead create a link to that parameter name in the Oblivion namespace. This form has been superseded by the namespace shortcut OB, which can be used like any cross-namespace link (e.g., [[OB:page name|]] or [[OB:page name|display text]]).

Calls to this template will at some point be converted to standard links by one of our bots.

Parameters[edit]

NS Docs
Parameter Scope Description
1 optional Oblivion page name to link to.
2 optional The name to display if different from the first unnamed parameter.
par optional If anything is specified for this parameter, parentheses will be put around the superscript text.

Examples[edit]

OB style Link style Result
{{OB}}
<sup>[[Oblivion:Oblivion|OB]]</sup>
OB
{{OB|par=1}}
<sup>([[Oblivion:Oblivion|OB]])</sup>
(OB)
{{OB|Items}}
[[Oblivion:Items|]]
Items
{{OB|Items|Artifact}}
[[Oblivion:Items|Artifact]]
Artifact