Difference between revisions of "Template:Episode buttons"

From Semantic Stargate Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{Buttons
+
<includeonly>{{#ifeq: {{NAMESPACE}} | Category | {{#vardefine: images | {{#sub: {{PAGENAME}} | 12 }} }} }}</includeonly>{{Buttons
 
| frame                  = no
 
| frame                  = no
 
<!-- | frame border          =  
 
<!-- | frame border          =  
Line 9: Line 9:
  
 
| button-1              = Episode
 
| button-1              = Episode
| url-1                  = Episode:{{{1|{{PAGENAME}}}}}
+
| url-1                  = Episode:{{#ifeq: {{NAMESPACE}} | Category | {{#var: images }} }} | {{{1|{{PAGENAME}}}}} }}
 
| image-1                =  
 
| image-1                =  
  
 
| button-2              = Credits
 
| button-2              = Credits
| url-2                  = Credits:{{{1|{{PAGENAME}}}}}
+
| url-2                  = Credits:{{#ifeq: {{NAMESPACE}} | Category | {{#var: images }} }} | {{{1|{{PAGENAME}}}}} }}
 
| image-2                =  
 
| image-2                =  
  
 
| button-3              = Transcript  
 
| button-3              = Transcript  
| url-3                  = Transcript:{{{1|{{PAGENAME}}}}}
+
| url-3                  = Transcript:{{#ifeq: {{NAMESPACE}} | Category | {{#var: images }} }} | {{{1|{{PAGENAME}}}}} }}
 
| image-3                =  
 
| image-3                =  
  
 
| button-4              = Images
 
| button-4              = Images
| url-4                  = :Category:Images from {{{1|{{PAGENAME}}}}}
+
| url-4                  = :Category:Images from {{#ifeq: {{NAMESPACE}} | Category | {{#var: images }} }} | {{{1|{{PAGENAME}}}}} }}
 
| image-4                =  
 
| image-4                =  
  
 
| button-5              = Quotes
 
| button-5              = Quotes
| url-5                  = Quotes:{{{1|{{PAGENAME}}}}}
+
| url-5                  = Quotes:{{#ifeq: {{NAMESPACE}} | Category | {{#var: images }} }} | {{{1|{{PAGENAME}}}}} }}
 
| image-5                =  
 
| image-5                =  
  
 
}}
 
}}

Revision as of 06:48, 28 December 2020

[[Episode:|Episode]]

| image-1 =

| button-2 = Credits | url-2 = Credits: | Episode buttons }} | image-2 =

| button-3 = Transcript | url-3 = Transcript: | Episode buttons }} | image-3 =

| button-4 = Images | url-4 = :Category:Images from | Episode buttons }} | image-4 =

| button-5 = Quotes | url-5 = Quotes: | Episode buttons }} | image-5 =

}}