Template:Animated: Difference between revisions
imported>Ttv pedro270707 m (<p> on MediaWiki is just another level) |
imported>Ttv pedro270707 mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span style="{{#if: {{{display|}}} | display: {{{display|}}} | }}" class="animated"><!-- | <includeonly><span style="{{#if: {{{display|}}} | display: {{{display|}}} | }}" class="animated"><!-- | ||
--> {{# | --> {{#arraydefine:images|{{{2|}}}|;}}<!-- | ||
--> <span style="display: inline-block;"><!-- | |||
--> [[File:{{#arrayindex:images|0}}{{#if:{{{1|}}} | {{!}}{{{1|}}} | }}{{#if:{{{link|}}} | {{!}}{{{link|}}} | }}]]<!-- | |||
--> | --> </span><!-- | ||
--> | --> {{#arrayslice:no-display-images|images|1|}}<!-- | ||
--> | --> {{#arrayprint:no-display-images||@image@|<!-- | ||
--> <span style="display: none;"><!-- | |||
--> [[File:@image@{{#if:{{{1|}}} | {{!}}{{{1|}}} | }}{{#if:{{{link|}}} | {{!}}{{{link|}}} | }}]]<!-- | |||
--> </span><!-- | |||
--> }}<!-- | --> }}<!-- | ||
--></span></includeonly><noinclude> | --></span></includeonly><noinclude> |
Latest revision as of 23:09, 2 April 2023
[view | | | ]Documentation
This template allows for an easy creation of cycling images.
Arguments[edit source]
Argument | Note |
---|---|
1 |
Sets the size of the images. Leave blank for default size. |
2 |
Sets the images. |
display |
Sets the display of the container. |
Usage[edit source]
Code | Result |
---|---|
{{animated|32px|BTA Icon.png;Cherry Log.png}} |
![]() |
{{animated|64px|Lit Trommel.png;Trommel.png}} |
![]() |
[view | | | ]The above documentation is transcluded from Template:Animated/doc.