Template:Lore Link/Doc
Summary
The idea here is to stop nasty redlinks appearing on information transcluded from the Lore namespace into game spaces.
For instance, it's perfectly valid for the Oblivion:Abecean Sea article to transclude Lore:Abecean Sea but because of prior links, the Oblivion one gets redlinks to places like Hammerfell and Valenwood. We don't want Oblivion:Hammerfell and Oblivion:Valenwood pages because those ought to link to the Lore space.
This template will try the local namespace first, then the parent namespace, then Lore, and then display a non-link.
What To Use
- {{Lore Link}}: Link to the gamespace article if it exists or the Lore article otherwise. Usually, you should not use this template outside of Lore space unless that page is transcluded into a Lore page. Instead, link directly to the page you want.
- {{Future Link}}: Link to a gamespace article that doesn't yet exist but may in the future; link to the Lore article until then.
[[Lore:page]]
: Always link to the Lore page, regardless of whether any gamespaces have a same-named article.
Parameters
Parametri | Visibilità | Descrizione |
---|---|---|
1 | required | The name of the page to link to. |
display or 2 | optional | Text to display instead of the page name. |
NSlink | optional | The link to use within the specific namespace. Always use the full name, including namespace, without square brackets (e.g., "Online:Werewolf (NPC) ", not just "Werewolf (NPC) "). The namespace is required to allow for custom parent links, such as linking from a Dragonborn page to a custom Skyrim page.
|
NSdisplay | optional | The display text to use within the specific namespace. |
Examples
{{Lore Link|Hammerfell|This points to Lore namespace.}}
This points to Lore namespace.
{{Lore Link|Aedra and Daedra|This points to Template namespace.}}
This points to Template namespace.
{{Lore Link|The Hamburglar|This is not a link.}}
This is not a link.
{{Lore Link|Werewolf|werewolves|ONdisplay=cute little bunny rabbits|ONlink=Online:Werewolf (NPC)}}
cute little bunny rabbits (if used in the Online namespace)
werewolves (normal display from the Template namespace)