Template:TESW: Difference between revisions

From OpenMW Wiki
Jump to navigation Jump to search
(code fix)
(actual code fix)
Line 11: Line 11:
: <code><nowiki>{{TESW|</nowiki><var>Article Title (Disambiguation)</var><nowiki>|</nowiki><var>text</var><nowiki>}}</nowiki></code> where <kbd><var>Article Title (Disambiguation)</var></kbd> is the <em>case-sensitive</em> title of the article at TESW (including any parenthetical disambiguation, if present); and <kbd><var>text</var></kbd> (which is optional) is the displayed text you are turning into a link.
: <code><nowiki>{{TESW|</nowiki><var>Article Title (Disambiguation)</var><nowiki>|</nowiki><var>text</var><nowiki>}}</nowiki></code> where <kbd><var>Article Title (Disambiguation)</var></kbd> is the <em>case-sensitive</em> title of the article at TESW (including any parenthetical disambiguation, if present); and <kbd><var>text</var></kbd> (which is optional) is the displayed text you are turning into a link.


<strong>The <kbd><var>Article Title</var></kbd> parameter is part of a URL and cannot contain any markup.<strong>
<strong>The <kbd><var>Article Title</var></kbd> parameter is part of a URL and cannot contain any markup.</strong>


It is not necessary to convert spaces in it into underscores or do any URL encoding; the template will handle that. Just copy-paste the article's <var>Article Title</var> found at the top of the article's content.
It is not necessary to convert spaces in it into underscores or do any URL encoding; the template will handle that. Just copy-paste the article's <var>Article Title</var> found at the top of the article's content.

Revision as of 16:00, 17 February 2020

[1]

Documentation

Convenient way to link to a Morrowind-related article at The Elder Scrolls Wiki (ElderScrolls.Wikia.com). Wiki.OpenMW.org should not have articles on "game lore" topics, walkthroughs, or other content more appropriate for or duplicative of that at TESW, Steam Community, UESP wiki, or other wikis, only material pertaining to OpenMW. So, you can use this template to quickly link to a lore or gameplay topic if context seems to warrant it (this should not be done excessively; we presume that readers/players know what the Mages Guild is, that Acrobatics is a skill, that Restore Health is a spell, that Seyda Neen is a place, etc.)

Link has a mouse-over tooltip indicating what the link is.

Usage

The syntax is:

{{TESW|Article Title (Disambiguation)|text}} where Article Title (Disambiguation) is the case-sensitive title of the article at TESW (including any parenthetical disambiguation, if present); and text (which is optional) is the displayed text you are turning into a link.

The Article Title parameter is part of a URL and cannot contain any markup.

It is not necessary to convert spaces in it into underscores or do any URL encoding; the template will handle that. Just copy-paste the article's Article Title found at the top of the article's content.

Unlike the UESP wiki, TESW does not make use of namespaces like "Morrowind:", "Tribunal:", "Bloodmoon:", and "Lore:", but uses parenthetical disambiguation to separate topics by game, e.g. "Console Commands (Morrowind)", "Console Commands (Skyrim)", etc. Using just something like Console Commands or Bonemold Armor alone will produce an invalid link, or a disambiguation page at best, for most topics (unless they are completely Morrowind-specific and need no disambiguation, or are general lore topics across the entire game franchise). Again, just copy-paste the article title from the article itself.

Note that TESW uses "Title Case for Titles" not "Sentence case for titles".

The second parameter can contain any markup that can be used in the second half of a piped link (e.g., boldface, but not a wikilink, ref tag, or other thing that produces a link/anchor, since links cannot be inside each other).

Examples:

{{TESW|Bonemold Armor (Morrowind)#Armun-An Bonemold Armor|Native Armun-An Bonemold Helm}}

produces:

Native Armun-An Bonemold Helm

This is an in-page section link to a Morrowind-specific page.

And:

{{TESW|Dark Brotherhood}}

produces:

[2]

This is a simple link to a general TES lore page at the wiki, without any second parameter.