Difference between revisions of "Template:Navigation/doc"

From Yugipedia
Jump to: navigation, search
m (prevent template from categorizing itself or its doc page)
Line 10: Line 10:
 
|-
 
|-
 
| <pre>{{Navigation}}</pre>
 
| <pre>{{Navigation}}</pre>
| style="width: 50%;" | {{Navigation}}
+
| style="width: 50%;" | {{Navigation|nocat=y}}
 
|-
 
|-
 
| <pre>{{Navigation|Altname}}</pre>
 
| <pre>{{Navigation|Altname}}</pre>
 
If the card's name is different from the page name (for instance, the card '''Jinzo #7''' is located at [[Jinzo 7]] due to the number sign not being usable in URLs), fill in the card's actual name where '''Altname''' is. For instance, '''<nowiki>{{Navigation|Jinzo #7}}</nowiki>''' for the earlier example. Note that using this parameter does not affect any of the links, only the descriptive text.
 
If the card's name is different from the page name (for instance, the card '''Jinzo #7''' is located at [[Jinzo 7]] due to the number sign not being usable in URLs), fill in the card's actual name where '''Altname''' is. For instance, '''<nowiki>{{Navigation|Jinzo #7}}</nowiki>''' for the earlier example. Note that using this parameter does not affect any of the links, only the descriptive text.
| {{Navigation|Altname}}
+
| {{Navigation|Altname|nocat=y}}
 
|-
 
|-
 
| <pre>{{Navigation|mode=nonGame}}</pre>
 
| <pre>{{Navigation|mode=nonGame}}</pre>
Line 20: Line 20:
 
  Shortcut: <nowiki>{{subst:Navigation2}}</nowiki>
 
  Shortcut: <nowiki>{{subst:Navigation2}}</nowiki>
 
Note that the shortcut doesn't allow for any additional parameters, such as ''<nowiki>|Other=[[Flame Swordsman (Bandai)</nowiki>|Bandai]]''.
 
Note that the shortcut doesn't allow for any additional parameters, such as ''<nowiki>|Other=[[Flame Swordsman (Bandai)</nowiki>|Bandai]]''.
| {{Navigation|mode=nonGame}}
+
| {{Navigation|mode=nonGame|nocat=y}}
 
|-
 
|-
 
| <pre>{{Navigation|mode=otherGame}}</pre>
 
| <pre>{{Navigation|mode=otherGame}}</pre>
Line 26: Line 26:
 
  Shortcut: <nowiki>{{subst:Navigation3}}</nowiki>
 
  Shortcut: <nowiki>{{subst:Navigation3}}</nowiki>
 
Note that the shortcut doesn't allow for any additional parameters, such as ''<nowiki>|Other=[[Flame Swordsman (Bandai)</nowiki>|Bandai]]''.
 
Note that the shortcut doesn't allow for any additional parameters, such as ''<nowiki>|Other=[[Flame Swordsman (Bandai)</nowiki>|Bandai]]''.
| {{Navigation|mode=otherGame}}
+
| {{Navigation|mode=otherGame|nocat=y}}
 
|-
 
|-
 
| <pre>{{Navigation|mode=token}}</pre>
 
| <pre>{{Navigation|mode=token}}</pre>
 
If the card is a token, you should use '''mode=token''' to remove the irrelevant links at the top of the box.
 
If the card is a token, you should use '''mode=token''' to remove the irrelevant links at the top of the box.
| {{Navigation|mode=token}}
+
| {{Navigation|mode=token|nocat=y}}
 
|-
 
|-
 
| <pre>{{Navigation|mode=spirit}}</pre>
 
| <pre>{{Navigation|mode=spirit}}</pre>
 
if the card is a Spirit, you should use '''mode=spirit''' to remove the Gallery, Rulings, Errata, and Tips links at the top of the box.
 
if the card is a Spirit, you should use '''mode=spirit''' to remove the Gallery, Rulings, Errata, and Tips links at the top of the box.
| {{Navigation|mode=spirit}}
+
| {{Navigation|mode=spirit|nocat=y}}
 
|-
 
|-
 
| <pre>{{Navigation|mode=Tip}}</pre>
 
| <pre>{{Navigation|mode=Tip}}</pre>
 
if the card is a Tip, Strategy or FAQ card, you should use '''mode=Tip''' to remove the Gallery, Rulings, Errata, Anime and Manga Appearances and Tips links at the top of the box.
 
if the card is a Tip, Strategy or FAQ card, you should use '''mode=Tip''' to remove the Gallery, Rulings, Errata, Anime and Manga Appearances and Tips links at the top of the box.
| {{Navigation|mode=Tip}}
+
| {{Navigation|mode=Tip|nocat=y}}
 
|-
 
|-
 
| <pre>{{Navigation|Other=Other links  
 
| <pre>{{Navigation|Other=Other links  
 
and information}}</pre>
 
and information}}</pre>
 
If there are any other pages relating to the card, they can be listed using this parameter.
 
If there are any other pages relating to the card, they can be listed using this parameter.
| {{Navigation|Other=Other links and information}}
+
| {{Navigation|Other=Other links and information|nocat=y}}
 
|-
 
|-
 
|}
 
|}

Revision as of 03:40, 22 October 2009

Usage

This template is used to create the navigation box at the top of Card Gallery, Rulings, Errata, Tips, Appearances, and Trivia pages. Ordinarily, this template can be used just by placing the template call {{Navigation}} on the target page. However, there are some parameters that can be used to influence the final appearance of the navbox.

Examples

{{Navigation}}
{{Navigation|Altname}}

If the card's name is different from the page name (for instance, the card Jinzo #7 is located at Jinzo 7 due to the number sign not being usable in URLs), fill in the card's actual name where Altname is. For instance, {{Navigation|Jinzo #7}} for the earlier example. Note that using this parameter does not affect any of the links, only the descriptive text.

{{Navigation|mode=nonGame}}

If the card is only found in an anime or manga series or the GameBoy Duel Monsters Promos: Series 1 set, use mode=nonGame to remove Rulings, Tips and Errata links.

Shortcut: {{subst:Navigation2}}

Note that the shortcut doesn't allow for any additional parameters, such as |Other=[[Flame Swordsman (Bandai)|Bandai]].

{{Navigation|mode=otherGame}}

If the card is only found in the Bandai series, Dungeon Dice Monsters or is video game only, you should use mode=otherGame to remove Rulings and Errata links.

Shortcut: {{subst:Navigation3}}

Note that the shortcut doesn't allow for any additional parameters, such as |Other=[[Flame Swordsman (Bandai)|Bandai]].

{{Navigation|mode=token}}

If the card is a token, you should use mode=token to remove the irrelevant links at the top of the box.

{{Navigation|mode=spirit}}

if the card is a Spirit, you should use mode=spirit to remove the Gallery, Rulings, Errata, and Tips links at the top of the box.

{{Navigation|mode=Tip}}

if the card is a Tip, Strategy or FAQ card, you should use mode=Tip to remove the Gallery, Rulings, Errata, Anime and Manga Appearances and Tips links at the top of the box.

{{Navigation|Other=Other links 
and information}}

If there are any other pages relating to the card, they can be listed using this parameter.