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 {{{number-of-alt-images}}} >= 3 |{{!}} image-2 = {{{view3|}}}|}}
+
   {{#if {{{number-of-alt-images}}} > 2 |{{!}} image-2 = {{{view3|}}}|}}
   {{#if {{{number-of-alt-images}}} >= 4 |{{!}} image-3 = {{{view4|}}}|}}
+
   {{#if {{{number-of-alt-images}}} > 3 |{{!}} 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: {{{number-of-alt-images}}} >= 3 |<br/>
+
<li class="view-selector-alt selector-1">[[:File:{{{view2}}}|{{{view2name}}}]]</li>{{#if: {{{number-of-alt-images}}} > 2 |<br/>
<li class="view-selector-default selector-2">[[:File:{{{view3}}}{{!}}{{{view3name}}}]]</li>{{#if: {{{number-of-alt-images}}} >= 4 |
+
<li class="view-selector-default selector-2">[[:File:{{{view3}}}{{!}}{{{view3name}}}]]</li>{{#if: {{{number-of-alt-images}}} > 3 |
 
<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:27, 22 September 2011

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

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