Difference between revisions of "Template:Animated"

From Luanti Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div class="animated" style="{{#if: {{{width|}}} | width: {{{width}}};|}} {{#if: {{{height|}}} | height: {{{height}}};|}} {{#if: {{{background|}}} | background-color: {{{background}}};|}} {{#if: {{{border|}}} | border: {{{border}}};|}} {{#if: {{{padding|}}} | padding: {{{padding}}};|}}">
+
<div class="animated" style="{{#if: {{{size|}}} | width: {{{size}}}; height: {{{size}}};|}} {{#if: {{{background|}}} | background-color: {{{background}}};|}} {{#if: {{{border|}}} | border: {{{border}}};|}} {{#if: {{{padding|}}} | padding: {{{padding}}};|}}">
{{#if: {{#explode: {{{1|}}} | , | 0 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 0 }}|{{#if: {{{width|}}} | {{{width}}} |}}|{{#if: {{{height|}}} | {{{height}}} |}}|link=File:{{#explode: {{{1|}}} | , | 0 }}]]</div> |}}<!--
+
{{#if: {{#explode: {{{1|}}} | , | 0 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 0 }}|{{#if: {{{size|}}} | {{{size}}} |}}|link=File:{{#explode: {{{1|}}} | , | 0 }}]]</div> |}}<!--
-->{{#if: {{#explode: {{{1|}}} | , | 1 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 1 }}|{{#if: {{{width|}}} | {{{width}}} |}}|{{#if: {{{height|}}} | {{{height}}} |}}|link=File:{{#explode: {{{1|}}} | , | 1 }}]]</div> |}}<!--
+
-->{{#if: {{#explode: {{{1|}}} | , | 1 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 1 }}|{{#if: {{{size|}}} | {{{size}}} |}}|link=File:{{#explode: {{{1|}}} | , | 1 }}]]</div> |}}<!--
-->{{#if: {{#explode: {{{1|}}} | , | 2 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 2 }}|{{#if: {{{width|}}} | {{{width}}} |}}|{{#if: {{{height|}}} | {{{height}}} |}}|link=File:{{#explode: {{{1|}}} | , | 2 }}]]</div> |}}<!--
+
-->{{#if: {{#explode: {{{1|}}} | , | 2 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 2 }}|{{#if: {{{size|}}} | {{{size}}} |}}|link=File:{{#explode: {{{1|}}} | , | 2 }}]]</div> |}}<!--
-->{{#if: {{#explode: {{{1|}}} | , | 3 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 3 }}|{{#if: {{{width|}}} | {{{width}}} |}}|{{#if: {{{height|}}} | {{{height}}} |}}|link=File:{{#explode: {{{1|}}} | , | 3 }}]]</div> |}}<!--
+
-->{{#if: {{#explode: {{{1|}}} | , | 3 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 3 }}|{{#if: {{{size|}}} | {{{size}}} |}}|link=File:{{#explode: {{{1|}}} | , | 3 }}]]</div> |}}<!--
-->{{#if: {{#explode: {{{1|}}} | , | 4 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 4 }}|{{#if: {{{width|}}} | {{{width}}} |}}|{{#if: {{{height|}}} | {{{height}}} |}}|link=File:{{#explode: {{{1|}}} | , | 4 }}]]</div> |}}<!--
+
-->{{#if: {{#explode: {{{1|}}} | , | 4 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 4 }}|{{#if: {{{size|}}} | {{{size}}} |}}|link=File:{{#explode: {{{1|}}} | , | 4 }}]]</div> |}}<!--
-->{{#if: {{#explode: {{{1|}}} | , | 5 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 5 }}|{{#if: {{{width|}}} | {{{width}}} |}}|{{#if: {{{height|}}} | {{{height}}} |}}|link=File:{{#explode: {{{1|}}} | , | 5 }}]]</div> |}}<!--
+
-->{{#if: {{#explode: {{{1|}}} | , | 5 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 5 }}|{{#if: {{{size|}}} | {{{size}}} |}}|link=File:{{#explode: {{{1|}}} | , | 5 }}]]</div> |}}<!--
-->{{#if: {{#explode: {{{1|}}} | , | 6 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 6 }}|{{#if: {{{width|}}} | {{{width}}} |}}|{{#if: {{{height|}}} | {{{height}}} |}}|link=File:{{#explode: {{{1|}}} | , | 6 }}]]</div> |}}<!--
+
-->{{#if: {{#explode: {{{1|}}} | , | 6 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 6 }}|{{#if: {{{size|}}} | {{{size}}} |}}|link=File:{{#explode: {{{1|}}} | , | 6 }}]]</div> |}}<!--
-->{{#if: {{#explode: {{{1|}}} | , | 7 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 7 }}|{{#if: {{{width|}}} | {{{width}}} |}}|{{#if: {{{height|}}} | {{{height}}} |}}|link=File:{{#explode: {{{1|}}} | , | 7 }}]]</div> |}}
+
-->{{#if: {{#explode: {{{1|}}} | , | 7 }} | <div class="image">[[File:{{#explode: {{{1|}}} | , | 7 }}|{{#if: {{{size|}}} | {{{size}}} |}}|link=File:{{#explode: {{{1|}}} | , | 7 }}]]</div> |}}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
<pre>{{Animated|Tree.png, Jungletree.png, Pine Tree.png|width=64px|height=64px}}</pre>
+
<pre>{{Animated|Tree.png, Jungletree.png, Pine Tree.png|size=64px}}</pre>
{{Animated|Tree.png, Jungletree.png, Pine Tree.png|width=64px|height=64px}}
+
{{Animated|Tree.png, Jungletree.png, Pine Tree.png|size=64px}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:14, 6 February 2016


{{Animated|Tree.png, Jungletree.png, Pine Tree.png|size=64px}}
Tree.png
Jungle Tree.png
Pine Tree.png