Difference between revisions of "Template:Navigation"
Dinoguy1000 (talk | contribs) (fix) |
Dinoguy1000 (talk | contribs) (nothing uses "spirit" mode, so remove support for it) |
||
Line 14: | Line 14: | ||
| titlestyle = font-size: 95%; | | titlestyle = font-size: 95%; | ||
− | | list1 = | + | | list1 = |
− | * {{Related page link|Card Gallery|{{{demo|}}}|label=Gallery | + | * {{Related page link|Card Gallery|{{{demo|}}}|label=Gallery}}<!-- |
-->{{ #switch: {{ #var: $mode }} <!-- only OCG/TCG cards and Tokens get rulings --> | -->{{ #switch: {{ #var: $mode }} <!-- only OCG/TCG cards and Tokens get rulings --> | ||
− | | nongame | + | | nongame | tip = |
− | | #default | + | | #default = |
* {{Related page link|Card Rulings|{{{demo|}}}|label=Rulings}} }}<!-- | * {{Related page link|Card Rulings|{{{demo|}}}|label=Rulings}} }}<!-- | ||
-->{{ #if: {{ #var: $mode }} || <!-- only OCG/TCG cards get errata --> | -->{{ #if: {{ #var: $mode }} || <!-- only OCG/TCG cards get errata --> | ||
* {{Related page link|Card Errata|{{{demo|}}}|label=Errata}} }}<!-- | * {{Related page link|Card Errata|{{{demo|}}}|label=Errata}} }}<!-- | ||
− | -->{{ #switch: {{ #var: $mode }} <!-- | + | -->{{ #switch: {{ #var: $mode }} <!-- tip/strategy cards don't get artworks --> |
− | + | | tip = | |
− | | #default | + | | #default = |
* {{Related page link|Card Artworks|{{{demo|}}}|label=Artworks}} }}<!-- | * {{Related page link|Card Artworks|{{{demo|}}}|label=Artworks}} }}<!-- | ||
-->{{ #switch: {{ #var: $mode }} <!-- only OCG/TCG/Bandai/DDM/VG cards get tips --> | -->{{ #switch: {{ #var: $mode }} <!-- only OCG/TCG/Bandai/DDM/VG cards get tips --> | ||
− | | token | nongame | + | | token | nongame | tip = |
− | | #default | + | | #default = |
* {{Related page link|Card Tips|{{{demo|}}}|label=Tips}} }} | * {{Related page link|Card Tips|{{{demo|}}}|label=Tips}} }} | ||
* {{Related page link|Card Trivia|{{{demo|}}}|label=Trivia}}<!-- | * {{Related page link|Card Trivia|{{{demo|}}}|label=Trivia}}<!-- | ||
-->{{ #switch: {{ #var: $mode }} <!-- tip/strategy cards don't get appearances --> | -->{{ #switch: {{ #var: $mode }} <!-- tip/strategy cards don't get appearances --> | ||
− | | tip | + | | tip = |
− | | #default | + | | #default = |
* {{Related page link|Card Appearances|{{{demo|}}}|label=Appearances}} }}<!-- | * {{Related page link|Card Appearances|{{{demo|}}}|label=Appearances}} }}<!-- | ||
− | -->{{ #switch: {{ #var: $mode }} <!-- tokens | + | -->{{ #switch: {{ #var: $mode }} <!-- tokens and tip/strategy cards don't get names or lores --> |
− | | token | + | | token | tip = |
− | | #default | + | | #default = |
* {{Related page link|Card Names|{{{demo|}}}|label=Names}} | * {{Related page link|Card Names|{{{demo|}}}|label=Names}} | ||
* {{Related page link|Card Lores|{{{demo|}}}|label=Lores}} }}<!-- | * {{Related page link|Card Lores|{{{demo|}}}|label=Lores}} }}<!-- | ||
Line 86: | Line 86: | ||
| nongame = [[Category:((Navigation)) transclusions with "nongame" mode value]] | | nongame = [[Category:((Navigation)) transclusions with "nongame" mode value]] | ||
| othergame = [[Category:((Navigation)) transclusions with "othergame" mode value]] | | othergame = [[Category:((Navigation)) transclusions with "othergame" mode value]] | ||
− | |||
| tip = [[Category:((Navigation)) transclusions with "tip" mode value]] | | tip = [[Category:((Navigation)) transclusions with "tip" mode value]] | ||
| token = [[Category:((Navigation)) transclusions with "token" mode value]] | | token = [[Category:((Navigation)) transclusions with "token" mode value]] |
Revision as of 06:16, 27 December 2017
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|mode=nonGame}} If the card is only found in an anime or manga series or the Yu-Gi-Oh! Duel Monsters promotional cards 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=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. |
Tracking categories
{{Navigation}} automatically detects several different possible errors and tracks them in Category:Navigation transclusions to be checked. In additions, uses of the other
parameter are tracked in Category:((Navigation)) transclusions with "other" parameter.