Difference between revisions of "Template:Class infobox/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
m
(Testing if this works)
Line 10: Line 10:
 
{{!}} align="center" class="image" colspan="2" {{!}} {{#ifexist: File:{{{3d-model|{{BASEPAGENAME}}}}}_RED_3D.jpg
 
{{!}} align="center" class="image" colspan="2" {{!}} {{#ifexist: File:{{{3d-model|{{BASEPAGENAME}}}}}_RED_3D.jpg
 
  | {{#switch:{{lc:{{{game|}}}}}
 
  | {{#switch:{{lc:{{{game|}}}}}
   | tfc = {{#invoke:3D viewer advanced/Sandbox|viewer_new
+
   | tfc = {{#invoke:3D viewer advanced|viewer_new
 
       | 3d-image-1 = {{{view1|{{{3d-model|{{BASEPAGENAME}}}}}_RED}}}
 
       | 3d-image-1 = {{{view1|{{{3d-model|{{BASEPAGENAME}}}}}_RED}}}
 
       | 3d-image-2 = {{{view2|{{{3d-model|{{BASEPAGENAME}}}}}_BLU}}}
 
       | 3d-image-2 = {{{view2|{{{3d-model|{{BASEPAGENAME}}}}}_BLU}}}
       | 3d-image-3 = {{{view2|{{{3d-model|{{BASEPAGENAME}}}}}_YELLOW}}}
+
       | 3d-image-3 = {{{view3|{{{3d-model|{{BASEPAGENAME}}}}}_YELLOW}}}
       | 3d-image-4 = {{{view3|{{{3d-model|{{BASEPAGENAME}}}}}_GREEN}}}
+
       | 3d-image-4 = {{{view4|{{{3d-model|{{BASEPAGENAME}}}}}_GREEN}}}
 +
      | 3d-image-5 = {{{view5|{{{3d-model|{{BASEPAGENAME}}}}}_new_RED}}}
 +
      | 3d-image-6 = {{{view6|{{{3d-model|{{BASEPAGENAME}}}}}_new_BLU}}}
 +
      | 3d-image-7 = {{{view7|{{{3d-model|{{BASEPAGENAME}}}}}_new_YELLOW}}}
 +
      | 3d-image-8 = {{{view8|{{{3d-model|{{BASEPAGENAME}}}}}_new_GREEN}}}
 
       | 3d-viewname-1 = {{{view1name|RED}}} <!-- !TFC TEAMS SHOULD NOT BE TRANSLATED! -->
 
       | 3d-viewname-1 = {{{view1name|RED}}} <!-- !TFC TEAMS SHOULD NOT BE TRANSLATED! -->
 
       | 3d-viewname-2 = {{{view2name|BLU}}}
 
       | 3d-viewname-2 = {{{view2name|BLU}}}
 
       | 3d-viewname-3 = {{{view3name|YELLOW}}}
 
       | 3d-viewname-3 = {{{view3name|YELLOW}}}
 
       | 3d-viewname-4 = {{{view4name|GREEN}}}
 
       | 3d-viewname-4 = {{{view4name|GREEN}}}
 +
      | 3d-viewname-5 = {{{view5name|RED}}} <!-- !TFC TEAMS SHOULD NOT BE TRANSLATED! -->
 +
      | 3d-viewname-6 = {{{view6name|BLU}}}
 +
      | 3d-viewname-7 = {{{view7name|YELLOW}}}
 +
      | 3d-viewname-8 = {{{view8name|GREEN}}}
 
       | 3d-button-1 = tfc_red_half
 
       | 3d-button-1 = tfc_red_half
 
       | 3d-button-2 = tfc_blu_half
 
       | 3d-button-2 = tfc_blu_half
 
       | 3d-button-3 = tfc_yellow_half
 
       | 3d-button-3 = tfc_yellow_half
 
       | 3d-button-4 = tfc_green_half
 
       | 3d-button-4 = tfc_green_half
 +
      | 3d-button-5 = tfc_red_half
 +
      | 3d-button-6 = tfc_blu_half
 +
      | 3d-button-7 = tfc_yellow_half
 +
      | 3d-button-8 = tfc_green_half
 
     }}
 
     }}
   | #default = {{#invoke:3D viewer advanced/Sandbox|viewer_new
+
   | #default = {{#invoke:3D viewer advanced|viewer_new
 
       | 3d-image-1 = {{{view1|{{{3d-model|{{BASEPAGENAME}}}}}_RED}}}
 
       | 3d-image-1 = {{{view1|{{{3d-model|{{BASEPAGENAME}}}}}_RED}}}
 
       | 3d-image-2 = {{{view2|{{{3d-model|{{BASEPAGENAME}}}}}_BLU}}}
 
       | 3d-image-2 = {{{view2|{{{3d-model|{{BASEPAGENAME}}}}}_BLU}}}
 
       | 3d-image-3 = {{{view3|{{{3d-model|{{BASEPAGENAME}}}}}_ÜberCharged_RED}}}
 
       | 3d-image-3 = {{{view3|{{{3d-model|{{BASEPAGENAME}}}}}_ÜberCharged_RED}}}
 
       | 3d-image-4 = {{{view4|{{{3d-model|{{BASEPAGENAME}}}}}_ÜberCharged_BLU}}}
 
       | 3d-image-4 = {{{view4|{{{3d-model|{{BASEPAGENAME}}}}}_ÜberCharged_BLU}}}
       | 3d-viewname-1 = {{{view2name|{{common string|BLU}}}}}
+
       | 3d-viewname-1 = {{{view2name|{{common string|RED}}}}}
 
       | 3d-viewname-2 = {{{view2name|{{common string|BLU}}}}}
 
       | 3d-viewname-2 = {{{view2name|{{common string|BLU}}}}}
 
       | 3d-viewname-3 = {{{view3name|{{common string|Ubercharge}}}}}
 
       | 3d-viewname-3 = {{{view3name|{{common string|Ubercharge}}}}}

Revision as of 15:18, 5 October 2024

Class infobox
Class infobox
Basic Information