Difference between revisions of "User:Moussekateer/3D Alt Viewer"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<div class="alt-viewer viewer-3d-multi">{{3D viewer
+
<div class="team-color-viewer viewer-3d-multi">{{3D viewer
 
   | {{#if: {{{fallback|}}}|fallback|null}} = {{{fallback|}}}
 
   | {{#if: {{{fallback|}}}|fallback|null}} = {{{fallback|}}}
 
   | {{#if: {{{image-fallback|}}}|image-fallback|null}} = {{{image-fallback|}}}
 
   | {{#if: {{{image-fallback|}}}|image-fallback|null}} = {{{image-fallback|}}}
 
   | image-0 = {{{view1|}}}
 
   | image-0 = {{{view1|}}}
 
   | image-1 = {{{view2|}}}
 
   | image-1 = {{{view2|}}}
   | {{#ifeq: {{#expr: {{{number-of-alt-images|2}}} > 2}} | 1 | image-2 | fakeargument}} = {{#ifeq: {{#expr: {{{number-of-alt-images|2}}} > 2}} | 1 | {{{view3|}}} | fakevalue}}
+
  | image-2 = {{{view3|}}}
   | {{#ifeq: {{#expr: {{{number-of-alt-images|2}}} > 3}} | 1 | image-3 | fakeargument}} = {{#ifeq: {{#expr: {{{number-of-alt-images|2}}} > 3}} | 1 | {{{view4|}}} | fakevalue}}
+
  | image-3 = {{{view4|}}}
 +
   | {{#ifeq: {{#expr: {{{number-of-images|4}}} > 4}} | 1 | image-4 | fakeargument}} = {{#ifeq: {{#expr: {{{number-of-images|4}}} > 4}} | 1 | {{{view5|}}} | fakevalue}}
 +
   | {{#ifeq: {{#expr: {{{number-of-images|4}}} > 5}} | 1 | image-5 | fakeargument}} = {{#ifeq: {{#expr: {{{number-of-images|4}}} > 5}} | 1 | {{{view6|}}} | fakevalue}}
 
}}<ul>
 
}}<ul>
<li class="view-selector-default selector-0">[[:File:{{{view1}}}|{{{view1name}}}]]</li>
+
<li class="team-selector-red selector-0">[[:File:{{{view1}}}|{{{view1name}}}]]</li>
<li class="view-selector-alt selector-1">[[:File:{{{view2}}}|{{{view2name}}}]]</li>{{#ifeq: {{#expr: {{{number-of-alt-images|2}}} > 2}}| 1 |<br/>
+
<li class="team-selector-blu selector-1">[[:File:{{{view2}}}|{{{view2name}}}]]</li>{{#ifeq: {{#expr: {{{number-of-team-images|4}}} > 2}}| 1 |<br/>
<li class="view-selector-default selector-2">[[:File:{{{view3}}}{{!}}{{{view3name}}}]]</li>{{#ifeq: {{#expr: {{{number-of-alt-images|2}}} > 3}}| 1 |
+
<li class="team-selector-red selector-2">[[:File:{{{view3}}}|{{{view3name}}}]]</li>
<li class="view-selector-alt selector-3">[[:File:{{{view4}}}{{!}}{{{view4name}}}]]</li>|}}|}}
+
<li class="team-selector-blu selector-3">[[:File:{{{view4}}}|{{{view4name}}}]]</li>|}}<br/>
 +
<li class="view-selector-default selector-4">[[:File:{{{view5}}}|{{{view5name}}}]]</li>
 +
<li class="view-selector-alt selector-5">[[:File:{{{view6}}}|{{{view6name}}}]]</li>{{#ifeq: {{#expr: {{{number-of-alt-images|4}}} > 2}}| 1 |<br/>
 +
<li class="view-selector-default selector-6">[[:File:{{{view7}}}{{!}}{{{view7name}}}]]</li>
 +
<li class="view-selector-alt selector-7">[[:File:{{{view8}}}{{!}}{{{view8name}}}]]</li>|}}
 
</ul>
 
</ul>
 
</div>
 
</div>

Revision as of 19:52, 23 September 2011

{{File:|url}}{{File:|map}}
  • [[:File:{{{view1}}}|{{{view1name}}}]]
  • [[:File:{{{view2}}}|{{{view2name}}}]]

  • [[:File:{{{view3}}}|{{{view3name}}}]]
  • [[:File:{{{view4}}}|{{{view4name}}}]]

  • [[:File:{{{view5}}}|{{{view5name}}}]]
  • [[:File:{{{view6}}}|{{{view6name}}}]]

  • [[:File:{{{view7}}}|{{{view7name}}}]]
  • [[:File:{{{view8}}}|{{{view8name}}}]]