Difference between revisions of "Template:Path"

From Legends of Hyrule
Jump to navigationJump to search
(added switch for creature types)
Line 12: Line 12:
 
| Spells = [[Spells]]
 
| Spells = [[Spells]]
 
| spells = [[Spells]]
 
| spells = [[Spells]]
}}{{#if:{{{2|}}}| &rarr; {{{2|}}}}}{{#if:{{{3|}}}| &rarr; {{{3|}}}}}{{#if:{{{4|}}}| &rarr; {{{4|}}}}}{{#if:{{{5|}}}| &rarr; {{{5|}}}}}{{#if:{{{6|}}}| &rarr; {{{6|}}}}}{{#if:{{{7|}}}| &rarr; {{{7|}}}}}{{#if:{{{8|}}}| &rarr; {{{8|}}}}}{{#if:{{{9|}}}| &rarr; {{{9|}}}}}</small>''<br/></includeonly><noinclude>
+
}}{{#if:{{{2|}}}| &rarr; {{#switch: {{{2|}}}
 +
| Aberrations = [[:Category:Aberrations|Aberrations]]
 +
| Beasts = [[:Category:Beasts|Beasts]]
 +
| Constructs = [[:Category:Constructs|Constructs]]
 +
| Dragons = [[:Category:Dragons|Dragons]]
 +
| Elementals = [[:Category:Elementals|Elementals]]
 +
| Fiends = [[:Category:Fiends|Fiends]]
 +
| Giants = [[:Category:Giants|Giants]]
 +
| Humanoids = [[:Category:Humanoids|Humanoids]]
 +
| Monstristy = [[:Category:Monstrosities|Monstrosities]]
 +
| Monstristies = [[:Category:Monstrosities|Monstrosities]]
 +
| Oozes = [[:Category:Oozes|Ooze]]
 +
| Plants = [[:Category:Plants|Plants]]
 +
| Undead = [[:Category:Undead|Undead]]
 +
| = {{{2|}}}}}{{#if:{{{3|}}}| &rarr; {{{3|}}}}}{{#if:{{{4|}}}| &rarr; {{{4|}}}}}{{#if:{{{5|}}}| &rarr; {{{5|}}}}}{{#if:{{{6|}}}| &rarr; {{{6|}}}}}{{#if:{{{7|}}}| &rarr; {{{7|}}}}}{{#if:{{{8|}}}| &rarr; {{{8|}}}}}{{#if:{{{9|}}}| &rarr; {{{9|}}}}}</small>''<br/></includeonly><noinclude>
  
 
Example:
 
Example:
<pre>{{Path|Creatures|[[Humanoid|Humanoids]]|[[Moblins (creature overview)|Moblins]]|[[Bulblin (creature)|Bulblins]]|'''Bulblin Captain'''}}</pre>
+
<pre>{{Path|Creatures|Humanoids|[[Blins (race)|Blins]]|[[Bulblin (creature)|Bulblins]]|'''Bulblin Captain'''}}</pre>
  
 
Alternate example:
 
Alternate example:

Revision as of 12:25, 7 July 2019


Example:

{{Path|Creatures|Humanoids|[[Blins (race)|Blins]]|[[Bulblin (creature)|Bulblins]]|'''Bulblin Captain'''}}

Alternate example:

{{Path
|Creatures
|[[Humanoid|Humanoids]]
|[[Moblins (creature overview)|Moblins]]
|[[Bulblin (creature)|Bulblins]]
|'''Bulblin Captain'''}}