Template:Related: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
imported>Tlosk
(moved link bracketing into template)
Line 1: Line 1:
'''''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|}}}|, {{{14|}}}|}}{{#if:{{{15|}}}|, {{{15|}}}|}}{{#if:{{{16|}}}|, {{{16|}}}|}}{{#if:{{{17|}}}|, {{{17|}}}|}}{{#if:{{{18|}}}|, {{{18|}}}|}}{{#if:{{{19|}}}|, {{{19|}}}|}}{{#if:{{{20|}}}|, {{{20|}}}|}}''<noinclude>
'''''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|}}}|, [[{{{14|}}}]]|}}{{#if:{{{15|}}}|, [[{{{15|}}}]]|}}{{#if:{{{16|}}}|, [[{{{16|}}}]]|}}{{#if:{{{17|}}}|, [[{{{17|}}}]]|}}{{#if:{{{18|}}}|, [[{{{18|}}}]]|}}{{#if:{{{19|}}}|, [[{{{19|}}}]]|}}{{#if:{{{20|}}}|, [[{{{20|}}}]]|}}''<noinclude>


== Syntax ==
== Syntax ==


<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Related|[[Link1]]|[[Link2]]|[[Linkn3]]}}
{{Related|Link1|Link2|Linkn3}}
</pre>
</pre>


Line 13: Line 13:


<pre>
<pre>
{{Related|[[Loot]]|[[Weapons]]|[[Armor]]|[[Item Sets]]}}
{{Related|Loot|Weapons|Armor|Item Sets}}
</pre>
</pre>


displays as:
displays as:


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


</noinclude>
</noinclude>

Revision as of 07:00, 3 January 2009

Related topics:

Syntax

{{Related|Link1|Link2|Linkn3}}

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