Difference between revisions of "Template:3D Alt Viewer"

From Team Fortress Wiki
Jump to: navigation, search
(boom)
Line 4: Line 4:
 
   | image-0 = {{{view1|}}}
 
   | image-0 = {{{view1|}}}
 
   | image-1 = {{{view2|}}}
 
   | image-1 = {{{view2|}}}
}}<ul><li class="view-selector-default selector-0">[[:File:{{{view1}}}|{{{view1name}}}]]</li><li class="view-selector-alt selector-1">[[:File:{{{view2}}}|{{{view2name}}}]]</li></ul></div>
+
  | {{#ifeq: {{#expr: {{{number-of-3d-images|2}}} > 2}} | 1 | image-2 | fakeargument}} = {{#ifeq: {{#expr: {{{number-of-3d-images|2}}} > 2}} | 1 | {{{view3|}}} | fakevalue}}
 +
  | {{#ifeq: {{#expr: {{{number-of-3d-images|2}}} > 3}} | 1 | image-3 | fakeargument}} = {{#ifeq: {{#expr: {{{number-of-3d-images|2}}} > 3}} | 1 | {{{view4|}}} | fakevalue}}
 +
}}<ul>
 +
<li class="view-selector-default selector-0">[[:File:{{{view1}}}|{{{view1name}}}]]</li>
 +
<li class="view-selector-alt selector-1">[[:File:{{{view2}}}|{{{view2name}}}]]</li>{{#ifeq: {{#expr: {{{number-of-3d-images|2}}} > 2}}| 1 |<br/>
 +
<li class="view-selector-default selector-2">[[:File:{{{view3}}}{{!}}{{{view3name}}}]]</li>{{#ifeq: {{#expr: {{{number-of-3d-images|2}}} > 3}}| 1 |
 +
<li class="view-selector-alt selector-3">[[:File:{{{view4}}}{{!}}{{{view4name}}}]]</li>|}}|}}
 +
</ul>
 +
</div>

Revision as of 02:25, 26 September 2011

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