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

From Team Fortress Wiki
Jump to: navigation, search
m
 
(11 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
! colspan="2" style="background-color:#F3A957;" {{!}} {{{class-name-override|{{{NAME|{{{name|{{{title|{{BASEPAGENAME}}}}}}}}}}}}}}
 
! colspan="2" style="background-color:#F3A957;" {{!}} {{{class-name-override|{{{NAME|{{{name|{{{title|{{BASEPAGENAME}}}}}}}}}}}}}}
 
{{!-}}
 
{{!-}}
{{!}} align="center" class="image" colspan="2" {{!}} {{#switch:{{lc:{{{game|}}}}}
+
{{!}} align="center" class="image" colspan="2" {{!}} {{#ifexist: File:{{{3d-model|{{BASEPAGENAME}}}}}_RED_3D.jpg
  | tfc = {{#ifexist: File:{{BASEPAGENAME}}_RED_3D.jpg
+
| {{#switch:{{lc:{{{game|}}}}}
   | {{#invoke:3D viewer advanced/Sandbox|viewer_new
+
   | tfc = {{#invoke:3D viewer advanced|viewer_new
       | 3d-image-1 = {{{view1|{{BASEPAGENAME}}_RED}}}
+
       | 3d-image-1 = {{{view1|{{{3d-model|{{BASEPAGENAME}}}}}_RED}}}
       | 3d-image-2 = {{{view2|{{BASEPAGENAME}}_BLU}}}
+
       | 3d-image-2 = {{{view2|{{{3d-model|{{BASEPAGENAME}}}}}_BLU}}}
       | 3d-image-3 = {{{view2|{{BASEPAGENAME}}_YELLOW}}}
+
       | 3d-image-3 = {{{view3|{{{3d-model|{{BASEPAGENAME}}}}}_YELLOW}}}
       | 3d-image-4 = {{{view3|{{BASEPAGENAME}}_GREEN}}}
+
       | 3d-image-4 = {{{view4|{{{3d-model|{{BASEPAGENAME}}}}}_GREEN}}}
       | 3d-viewname-1 = {{{view1name|RED}}}
+
      | 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-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 {{common string|3d-new}}}}}
 +
      | 3d-viewname-6 = {{{view6name|BLU {{common string|3d-new}}}}}
 +
      | 3d-viewname-7 = {{{view7name|YELLOW {{common string|3d-new}}}}}
 +
      | 3d-viewname-8 = {{{view8name|GREEN {{common string|3d-new}}}}}
 
       | 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
  | [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{BASEPAGENAME}}]]
+
      | 3d-button-6 = tfc_blu_half
  }}
+
      | 3d-button-7 = tfc_yellow_half
  | #default = {{#ifexist: File:{{BASEPAGENAME}}_RED_3D.jpg
+
      | 3d-button-8 = tfc_green_half
  | {{#invoke:3D viewer advanced/Sandbox|viewer_new
+
      | image      = {{{image|{{BASEPAGENAME}}}}}
       | 3d-image-1 = {{{view1|{{BASEPAGENAME}}_RED}}}
+
    }}
       | 3d-image-2 = {{{view2|{{BASEPAGENAME}}_BLU}}}
+
  | #default = {{#invoke:3D viewer advanced|viewer_new
       | 3d-image-3 = {{{view3|{{BASEPAGENAME}}_ÜberCharged_RED}}}
+
       | 3d-image-1 = {{{view1|{{{3d-model|{{BASEPAGENAME}}}}}_RED}}}
       | 3d-image-4 = {{{view4|{{BASEPAGENAME}}_ÜberCharged_BLU}}}
+
       | 3d-image-2 = {{{view2|{{{3d-model|{{BASEPAGENAME}}}}}_BLU}}}
       | 3d-viewname-1 = {{{view2name|{{common string|BLU}}}}}
+
       | 3d-image-3 = {{{view3|{{{3d-model|{{BASEPAGENAME}}}}}_ÜberCharged_RED}}}
 +
       | 3d-image-4 = {{{view4|{{{3d-model|{{BASEPAGENAME}}}}}_ÜberCharged_BLU}}}
 +
       | 3d-viewname-1 = {{{view1name|{{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}}}}}
Line 40: Line 50:
 
       | 3d-button-3 = red
 
       | 3d-button-3 = red
 
       | 3d-button-4 = blu
 
       | 3d-button-4 = blu
    }}
+
      | image      = {{{image|{{BASEPAGENAME}}}}}
  | [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{BASEPAGENAME}}]]
+
    }}
 
   }}
 
   }}
  }}  
+
  | [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{{class-name-override|{{{NAME|{{{name|{{{title|{{BASEPAGENAME}}}}}}}}}}}}}}]]
 +
}}
 
{{!-}}
 
{{!-}}
 
! colspan="2" {{!}} {{lang
 
! colspan="2" {{!}} {{lang

Latest revision as of 00:59, 27 November 2024

Class infobox
Class infobox
Basic Information