Difference between revisions of "Template:Weapon Demonstration/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#if:{{{noheader|}}}|<!-- Nothing -->|{{anchor|Weapon Demonstration|Demonstration|Weapon demonstration}}<{{{headerlevel|h2}}}>{{#if: {{{pyroland|}}} |{{lang | e...")
 
m
Line 91: Line 91:
 
     }}
 
     }}
 
   }}
 
   }}
{{#switch: {{SUBPAGENAME}}  
+
{{#switch: {{{videosource|{{SUBPAGENAME}}}}}
 
  | #default = {{{{#if:{{{tn|}}}|youtube_tn|youtube}}
 
  | #default = {{{{#if:{{{tn|}}}|youtube_tn|youtube}}
 
   | width = {{{width|640}}}
 
   | width = {{{width|640}}}
Line 99: Line 99:
 
   | 1 = {{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|youtube}}}}}
 
   | 1 = {{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|youtube}}}}}
 
   }}
 
   }}
  | zh-hans | zh-hant = {{#ifeq: {{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|bilibili}} | {{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|youtube}} | {{{{#if:{{{tn|}}}|youtube_tn|youtube}}
+
  | bilibili | zh-hans | zh-hant = {{#ifeq: {{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|bilibili}} | {{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|youtube}} | {{{{#if:{{{tn|}}}|youtube_tn|youtube}}
 
   | width = {{{width|640}}}
 
   | width = {{{width|640}}}
 
   | widths = {{{widths|360-480-512-640}}}
 
   | widths = {{{widths|360-480-512-640}}}

Revision as of 13:45, 6 April 2020