Template:Scroll link
From Scrolls Wiki
Handles links to pages corresponding to following scroll attributes:
The regular behavior of this template is to link to the page whose name equals the first parameter, but it also supports the following special cases.
- It links to the relevant page, even if its name is different from the attribute value (because of disambiguation for instance). Note however that such cases are hard-coded in this template, so it needs to be edited if a new case occurs.
- When the template is used in the page it is supposed to link to, it displays the parameter as raw text instead of a link in order to prevent it from being replaced with bold text.
Unnamed parameters
- 1 (mandatory)
- Value of the scroll attribute and text to be displayed. It may or may not be the name of the page to be linked to, as explained above.
- 2 (optional)
- Scroll attribute which the first parameter corresponds to. Allowed values are name, type, subtype, rarity and trait. If this is omitted, the first parameter is considered to be a scroll name.