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

From Team Fortress Wiki
Jump to: navigation, search
m
m
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-alt-images}}} > 2}}| 1 |{{!}} image-2 = {{{view3|}}}|}}
   {{#if {{expr: {{{number-of-alt-images}}} > 3}} == 1 |{{!}} image-3 = {{{view4|}}}|}}
+
   {{#ifeq {{expr: {{{number-of-alt-images}}} > 3}}| 1 |{{!}} image-3 = {{{view4|}}}|}}
 
}}<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-alt-images}}} > 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-alt-images}}} > 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>

Revision as of 02:39, 22 September 2011

{{File:|url}}{{File:|map}}{{File:{{#ifeq {{expr: {{{number-of-alt-images}}} > 2}}| 1 || image-2 = |}}
 {{#ifeq {{expr: {{{number-of-alt-images}}} > 3}}| 1 || image-3 = |}}|url}}{{File:{{#ifeq {{expr: {{{number-of-alt-images}}} > 2}}| 1 || image-2 = |}}
{{#ifeq {{expr: {{{number-of-alt-images}}} > 3}}| 1 || image-3 = |}}|map}}
  • [[:File:{{{view1}}}|{{{view1name}}}]]
  • [[:File:{{{view2}}}|{{{view2name}}}]]