Difference between revisions of "Template:Card navigation"

From Yugipedia
Jump to: navigation, search
(IfSemantics)
(this check really should be done here, instead of in individual card table templates)
Line 13: Line 13:
 
}}
 
}}
 
| -->{{IfSemantics
 
| -->{{IfSemantics
   | {{Navbox
+
   | {{ #if: {{ #ask: [[Main card page::{{ #var: $main | {{PAGENAME}} }}]] }} | {{Navbox
 
     | navbar    = plain
 
     | navbar    = plain
 
     | title    = {{ #ifeq: {{ #var: $main | {{PAGENAME}} }} | {{PAGENAME}}  | Other }} "{{ #show: {{ #var: $main | {{PAGENAME}} }} |?English name (linked) }}" pages
 
     | title    = {{ #ifeq: {{ #var: $main | {{PAGENAME}} }} | {{PAGENAME}}  | Other }} "{{ #show: {{ #var: $main | {{PAGENAME}} }} |?English name (linked) }}" pages
Line 25: Line 25:
 
       }}
 
       }}
 
     }}
 
     }}
   }}<!--
+
   }} }}<!--
 
}}--><noinclude>
 
}}--><noinclude>
  
 
[[Category:Navboxes]]</noinclude>
 
[[Category:Navboxes]]</noinclude>

Revision as of 22:24, 9 December 2014