Difference between revisions of "Template:Path"

From Legends of Hyrule
Jump to navigationJump to search
Line 1: Line 1:
<includeonly>''<small>{{#ifeq:{{{1|}}}|Creatures|[[Creatures]]|{{#ifeq:{{{1|}}}|Magic Items|[[Magic Items]]|{{{1|}}}}}}}{{#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>
+
<includeonly>''<small>{{#switch {{{1|}}}
 +
| Bestiary = [[Bestiary]]
 +
| bestiary = [[Bestiary]]
 +
| Creatures = [[Bestiary]]
 +
| creatures = [[Bestiary]]
 +
| Equipment = [[Equipment]]
 +
| equipment = [[Equipment]]
 +
| Spells = [[Spells]]
 +
| spells = [[Spells]]
 +
| Classes = [[Classes]]
 +
| classes = [[Classes}}{{#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>
  
 
Currently supported first paths include:
 
Currently supported first paths include:
* Creatures
+
<pre>
* Magic Items
+
| Bestiary = [[Bestiary]]
 
+
| bestiary = [[Bestiary]]
 +
| Creatures = [[Bestiary]]
 +
| creatures = [[Bestiary]]
 +
| Equipment = [[Equipment]]
 +
| equipment = [[Equipment]]
 +
| Spells = [[Spells]]
 +
| spells = [[Spells]]
 +
| Classes = [[Classes]]
 +
| classes = [[Classes}}
 +
</pre>
  
 
Example:
 
Example:

Revision as of 09:35, 7 July 2019


Currently supported first paths include:

| Bestiary = [[Bestiary]]
| bestiary = [[Bestiary]]
| Creatures = [[Bestiary]]
| creatures = [[Bestiary]]
| Equipment = [[Equipment]]
| equipment = [[Equipment]]
| Spells = [[Spells]]
| spells = [[Spells]]
| Classes = [[Classes]]
| classes = [[Classes}}

Example:

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

Alternate example:

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