Template:Faction
The UESPWiki – Your source for The Elder Scrolls since 1995
| Due to the sensitive nature of this template and 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. |
Contents |
Summary
This template makes it easier to link NPCs to their faction pages.
The template makes two assumptions:
- There exists a "faction" page in the specified namespace (the current one if none is specified). If there is not, the template will instead look for the Factions_x page in the specified namespace, where x is the initial letter of the faction name (e.g., Factions_M for Mages Guild).
- The faction you specify is present on the relevant page exactly as specified (e.g., if the faction is called "Joe's Faction", you must specify "Joe's Faction" as the name).
Parameters
| Template:Faction | ||
|---|---|---|
| Parameter | Scope | Description |
1 or faction |
required | Faction to which to link. |
2 or rank |
optional | Rank of NPC within the faction. |
altname |
optional | Value to display in the link to the faction. |
namesp |
optional | Alternate namespace for the faction pages if the default is not to be used. The rank category is omitted in this case. |
nocat |
optional | Set to yes to not add category (for example, within tables of NPCs). |
catname |
optional | Name to use in the categories used to group the members of the faction. |
Examples
{{Faction|Mages Guild|rank=Evoker}}
{{Faction|faction=Mages Guild|rank=Evoker}}
Mages Guild (Evoker
)
{{Faction|Mages Guild|Evoker|altname=Guild for Mages}}
Guild for Mages (Evoker
)
{{Faction|Fighters Guild|rank=0|namesp=Oblivion}}
Fighters Guild (Associate
)
Loaded Values
The following values are loaded internally by the template from faction pages. They should normally be saved by using {{Save Named Values}} on the page.
| Template:Faction | ||
|---|---|---|
| Parameter | Scope | Description |
Rank_rank |
optional | The name of the character's rank in the faction. |
RankIcon_rank |
optional | The image to display after the rank. |
link |
optional | The full faction link for the redirect, including the namespace, but without the [[ ]]. This allows for both page name conflicts as well as cross-namespace linking, when necessary. |
Saved Values
The following values are saved to pages in Morrowind-related spaces only.
| Template:Faction | ||
|---|---|---|
| Parameter | Scope | Description |
faction |
optional | Same as faction parameter. |
factionRank |
optional | Specified rank parameter or corresponding Rank_rank from faction page, if available. |
altname |
optional | Same as altname parameter. |
![[Content is available under Attribution-ShareAlike]](http://www.uesp.net/w/images/4/4d/Somerights.png)