Difference between revisions of "User:Moussekateer/3D Alt Viewer"
Moussekateer (talk | contribs) m |
Moussekateer (talk | contribs) m (i am dumbkopf) |
||
Line 4: | Line 4: | ||
| image-0 = {{{view1|}}} | | image-0 = {{{view1|}}} | ||
| image-1 = {{{view2|}}} | | image-1 = {{{view2|}}} | ||
− | {{#ifeq {{expr: {{{number-of-alt-images}}} > 2}}| 1 |{{!}} image-2 = {{{view3|}}}|}} | + | {{#ifeq {{#expr: {{{number-of-alt-images|2}}} > 2}}| 1 |{{!}} image-2 = {{{view3|}}}|}} |
− | {{#ifeq {{expr: {{{number-of-alt-images}}} > 3}}| 1 |{{!}} image-3 = {{{view4|}}}|}} | + | {{#ifeq {{#expr: {{{number-of-alt-images|2}}} > 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>{{#ifeq: {{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}}} > 2}}| 1 |<br/> |
− | <li class="view-selector-default selector-2">[[:File:{{{view3}}}{{!}}{{{view3name}}}]]</li> | + | <li class="view-selector-default selector-2">[[:File:{{{view3}}}{{!}}{{{view3name}}}]]</li>{{#ifeq: {{#expr: {{{number-of-alt-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> |
Revision as of 03:44, 22 September 2011
{{File:|url}}{{File:|map}}{{File:{{#ifeq 0| 1 || image-2 = |}}
{{#ifeq 0| 1 || image-3 = |}}|url}}{{File:{{#ifeq 0| 1 || image-2 = |}}
{{#ifeq 0| 1 || image-3 = |}}|map}}
- [[:File:{{{view1}}}|{{{view1name}}}]]
- [[:File:{{{view2}}}|{{{view2name}}}]]