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

From Team Fortress Wiki
Jump to: navigation, search
m
m
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/Sandbox|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 = {{{view2|{{{3d-model|{{BASEPAGENAME}}}}}_YELLOW}}}
       | 3d-image-4 = {{{view3|{{BASEPAGENAME}}_GREEN}}}
+
       | 3d-image-4 = {{{view3|{{{3d-model|{{BASEPAGENAME}}}}}_GREEN}}}
       | 3d-viewname-1 = {{{view1name|RED}}}
+
       | 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}}}
Line 23: Line 23:
 
       | 3d-button-3 = tfc_yellow_half
 
       | 3d-button-3 = tfc_yellow_half
 
       | 3d-button-4 = tfc_green_half
 
       | 3d-button-4 = tfc_green_half
    }}
+
    }}
   | [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{BASEPAGENAME}}]]
+
   | #default = {{#invoke:3D viewer advanced/Sandbox|viewer_new
  }}
+
       | 3d-image-1 = {{{view1|{{{3d-model|{{BASEPAGENAME}}}}}_RED}}}
  | #default = {{#ifexist: File:{{BASEPAGENAME}}_RED_3D.jpg
+
       | 3d-image-2 = {{{view2|{{{3d-model|{{BASEPAGENAME}}}}}_BLU}}}
  | {{#invoke:3D viewer advanced/Sandbox|viewer_new
+
       | 3d-image-3 = {{{view3|{{{3d-model|{{BASEPAGENAME}}}}}_ÜberCharged_RED}}}
       | 3d-image-1 = {{{view1|{{BASEPAGENAME}}_RED}}}
+
       | 3d-image-4 = {{{view4|{{{3d-model|{{BASEPAGENAME}}}}}_ÜberCharged_BLU}}}
       | 3d-image-2 = {{{view2|{{BASEPAGENAME}}_BLU}}}
 
       | 3d-image-3 = {{{view3|{{BASEPAGENAME}}_ÜberCharged_RED}}}
 
       | 3d-image-4 = {{{view4|{{BASEPAGENAME}}_ÜberCharged_BLU}}}
 
 
       | 3d-viewname-1 = {{{view2name|{{common string|BLU}}}}}
 
       | 3d-viewname-1 = {{{view2name|{{common string|BLU}}}}}
 
       | 3d-viewname-2 = {{{view2name|{{common string|BLU}}}}}
 
       | 3d-viewname-2 = {{{view2name|{{common string|BLU}}}}}
Line 40: Line 37:
 
       | 3d-button-3 = red
 
       | 3d-button-3 = red
 
       | 3d-button-4 = blu
 
       | 3d-button-4 = blu
    }}
+
    }}
  | [[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

Revision as of 21:52, 12 August 2024

Class infobox
Class infobox
Basic Information