Permanently protected template

Difference between revisions of "Template:Navigation"

From Yugipedia
Jump to: navigation, search
m (remove a small bit of phantom spacing.)
(add demo functionality)
Line 1: Line 1:
 
{| class="toccolours" style="margin: 2em auto;"
 
{| class="toccolours" style="margin: 2em auto;"
 
|-
 
|-
| style="background: #ccf; text-align: center;" | '''[[{{ #if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}{{ #if: {{{1|}}} | {{!}}{{{1}}} }}]]'''
+
| style="background: #ccf; text-align: center;" | '''[[{{#if: {{{demo|}}} | {{{demo}}} | {{ #if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}{{ #if: {{{1|}}} | {{!}}{{{1}}} }} }}]]'''
 
|-
 
|-
 
| style="font-size: 90%; text-align: center;" |
 
| style="font-size: 90%; text-align: center;" |
 
{{
 
{{
 
   #switch: {{ lc: {{{mode|}}} }}
 
   #switch: {{ lc: {{{mode|}}} }}
   | token    = [[Card Gallery:{{PAGENAME}}|Gallery]] - [[Card Artworks:{{PAGENAME}}|Artworks]]
+
   | token    = [[Card Gallery:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Gallery]] - [[Card Artworks:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Artworks]]
   | nongame  = [[Card Gallery:{{PAGENAME}}|Gallery]] - [[Card Appearances:{{PAGENAME}}|Appearances]] - [[Card Trivia:{{PAGENAME}}|Trivia]]<br/>[[Card Lores:{{PAGENAME}}|Lores]] - [[Card Names:{{PAGENAME}}|Names]] - [[Card Artworks:{{PAGENAME}}|Artworks]]
+
   | nongame  = [[Card Gallery:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Gallery]] - [[Card Appearances:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Appearances]] - [[Card Trivia:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Trivia]]<br/>[[Card Lores:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Lores]] - [[Card Names:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Names]] - [[Card Artworks:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Artworks]]
   | othergame = [[Card Gallery:{{PAGENAME}}|Gallery]] - [[Card Tips:{{PAGENAME}}|Tips]] - [[Card Appearances:{{PAGENAME}}|Appearances]] - [[Card Trivia:{{PAGENAME}}|Trivia]]<br/>[[Card Lores:{{PAGENAME}}|Lores]] - [[Card Names:{{PAGENAME}}|Names]] - [[Card Artworks:{{PAGENAME}}|Artworks]]
+
   | othergame = [[Card Gallery:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Gallery]] - [[Card Tips:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Tips]] - [[Card Appearances:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Appearances]] - [[Card Trivia:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Trivia]]<br/>[[Card Lores:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Lores]] - [[Card Names:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Names]] - [[Card Artworks:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Artworks]]
   | spirit    = [[Card Appearances:{{PAGENAME}}|Appearances]] - [[Card Trivia:{{PAGENAME}}|Trivia]]
+
   | spirit    = [[Card Appearances:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Appearances]] - [[Card Trivia:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Trivia]]
   | tip      = [[Card Gallery:{{PAGENAME}}|Gallery]] - [[Card Trivia:{{PAGENAME}}|Trivia]]
+
   | tip      = [[Card Gallery:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Gallery]] - [[Card Trivia:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Trivia]]
   | #default  = [[Card Gallery:{{PAGENAME}}|Gallery]] - [[Card Rulings:{{PAGENAME}}|Rulings]] - [[Card Errata:{{PAGENAME}}|Errata]] - [[Card Tips:{{PAGENAME}}|Tips]] - [[Card Appearances:{{PAGENAME}}|Appearances]] - [[Card Trivia:{{PAGENAME}}|Trivia]]<br/>[[Card Names:{{PAGENAME}}|Names]] - [[Card Lores:{{PAGENAME}}|Lores]] - [[Card Artworks:{{PAGENAME}}|Artworks]]
+
   | #default  = [[Card Gallery:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Gallery]] - [[Card Rulings:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Rulings]] - [[Card Errata:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Errata]] - [[Card Tips:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Tips]] - [[Card Appearances:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Appearances]] - [[Card Trivia:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Trivia]]<br/>[[Card Names:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Names]] - [[Card Lores:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Lores]] - [[Card Artworks:{{#if: {{{demo|}}} | {{{demo}}} | {{PAGENAME}} }}|Artworks]]
 
}}{{
 
}}{{
 
   #if: {{{Other2|}}}
 
   #if: {{{Other2|}}}
Line 26: Line 26:
 
   | Card Errata      = [[Errata|Card Errata]]
 
   | Card Errata      = [[Errata|Card Errata]]
 
   | Card Appearances = Card Appearances
 
   | Card Appearances = Card Appearances
   | #default        = {{NAMESPACE}}
+
   | #default        = {{#if: {{{demo_ns|}}} | {{{demo_ns}}} | {{NAMESPACE}} }}
 
}} A-Z'''
 
}} A-Z'''
 
{{Contents
 
{{Contents
|info=Category:{{NAMESPACE}}
+
|info=Category:{{#if: {{{demo_ns|}}} | {{{demo_ns}}} | {{NAMESPACE}} }}
 
}}
 
}}
 
|}<includeonly>{{
 
|}<includeonly>{{
Line 62: Line 62:
 
   }}
 
   }}
 
   | #default<!-- everything else -->    = [[Category:Navigation transclusions to be checked|S]]
 
   | #default<!-- everything else -->    = [[Category:Navigation transclusions to be checked|S]]
 +
}}{{
 +
  #if: {{{demo|}}}{{{demo_ns}}}<!-- demo cat -->
 +
  | [[Category:Navigation demonstrations]]
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:55, 14 June 2010

Navigation

Gallery - Rulings - Errata - Tips - Appearances - Trivia
Names - Lores - Artworks


Template A-Z