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

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
   | image-0 = {{{view1|}}}
 
   | image-0 = {{{view1|}}}
 
   | image-1 = {{{view2|}}}
 
   | image-1 = {{{view2|}}}
   {{#if {{expr: {{{number-of-alt-images}}} > 2}} == 1 |{{!}} image-2 = {{{view3|}}}|}}
+
   | {{#ifeq: {{#expr: {{{number-of-3d-images|2}}} > 2}} | 1 | image-2 | fakeargument}} = {{#ifeq: {{#expr: {{{number-of-3d-images|2}}} > 2}} | 1 | {{{view3|}}} | fakevalue}}
   {{#if {{expr: {{{number-of-alt-images}}} > 3}} == 1 |{{!}} image-3 = {{{view4|}}}|}}
+
   | {{#ifeq: {{#expr: {{{number-of-3d-images|2}}} > 3}} | 1 | image-3 | fakeargument}} = {{#ifeq: {{#expr: {{{number-of-3d-images|2}}} > 3}} | 1 | {{{view4|}}} | fakevalue}}
 
}}<ul>
 
}}<ul>
 
<li class="view-selector-default selector-0">[[:File:{{{view1}}}|{{{view1name}}}]]</li>
 
<li class="view-selector-default selector-0">[[:File:{{{view1}}}|{{{view1name}}}]]</li>
<li class="view-selector-alt selector-1">[[:File:{{{view2}}}|{{{view2name}}}]]</li>{{#if: {{expr: {{{number-of-alt-images}}} > 2}} == 1 |<br/>
+
<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>{{#if: {{expr: {{{number-of-alt-images}}} > 3}} == 1 |
+
<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>|}}|}}
 
<li class="view-selector-alt selector-3">[[:File:{{{view4}}}{{!}}{{{view4name}}}]]</li>|}}|}}
 
</ul>
 
</ul>
 
</div>
 
</div>

Latest revision as of 01:21, 26 September 2011

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