Template:Related: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
(Created page with "<includeonly>'''''Related topics:''' {{#if:{{{1|}}}|[[{{{1|}}}]]|}}{{#if:{{{2|}}}|, [[{{{2|}}}]]|}}{{#if:{{{3|}}}|, [[{{{3|}}}]]|}}{{#if:{{{4|}}}|, [[{{{4|}}}]]|}}{{#if:{{{5|}}}|, [[{{{5|}}}]]|}}{{#if:{{{6|}}}|, [[{{{6|}}}]]|}}{{#if:{{{7|}}}|, [[{{{7|}}}]]|}}{{#if:{{{8|}}}|, [[{{{8|}}}]]|}}{{#if:{{{9|}}}|, [[{{{9|}}}]]|}}{{#if:{{{10|}}}|, [[{{{10|}}}]]|}}{{#if:{{{11|}}}|, [[{{{11|}}}]]|}}{{#if:{{{12|}}}|, [[{{{12|}}}]]|}}{{#if:{{{13|}}}|, [[{{{13|}}}]]|}}{{#if:{{{14|}}}|...")
 
(6 intermediate revisions by one other user not shown)
Line 20: Line 20:
{{Related|Loot|Weapons|Armor|Item Sets}}
{{Related|Loot|Weapons|Armor|Item Sets}}


If you need to rename how the link will appear, you need to use [[Template:!|<nowiki>{{!}}</nowiki>]] for the pipe separating the link and the alias.
 
 
If you need to rename how the link will appear, you need to use {{tl|!}} for the pipe separating the link and the alias. For templates, use {{mtl|mtl}}.


For example:
For example:
Line 32: Line 34:
{{Related|:Category:Map#Recent Maps{{!}}Recent Maps}}
{{Related|:Category:Map#Recent Maps{{!}}Recent Maps}}


[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 23:29, 16 January 2024

Related topics: Wiki Templates

Syntax

{{Related|Link1|Link2|Link3}}

Usage

Use to format related articles at the top of pages (replaces See also). List from 0 to 20 linked articles (each separated by | ). Although the formatting is minimal, this will allow changes across all articles in the future if needed (in wording or formatting).

For example:

{{Related|Loot|Weapons|Armor|Item Sets}}

displays as:

Related topics: Loot, Weapons, Armor, Item Sets


If you need to rename how the link will appear, you need to use {{!}} for the pipe separating the link and the alias. For templates, use Template:mtl|{{mtl}}.

For example:

{{Related|:Category:Map#Recent Maps{{!}}Recent Maps}}

displays as:

Related topics: Recent Maps