Template:Altimage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 35: | Line 35: | ||
|<div class="qud-animated-image-wrap qud-toggler qud-carousel-item" data-label="{{{type|default sprite}}}"><!-- | |<div class="qud-animated-image-wrap qud-toggler qud-carousel-item" data-label="{{{type|default sprite}}}"><!-- | ||
--><div class="qud-infobox-carousel-static-image">[[File:{{{1}}}|160px|alt={{{PAGENAME}}}]]</div><!-- | --><div class="qud-infobox-carousel-static-image">[[File:{{{1}}}|160px|alt={{{PAGENAME}}}]]</div><!-- | ||
--></div> | --></div> | ||
}}</includeonly><noinclude> | |||
This template is used to display alternate images for an infobox in an "image carousel" format. | This template is used to display alternate images for an infobox in an "image carousel" format. | ||
This is similar to, but a more advanced version of [[Template: | This is similar to, but a more advanced version of [[Template:Infobox image and gif]]. This version supports multiple images. | ||
One or more instances of this template must be wrapped between [[Template:Altimage start|altimage start]] and [[Template:Altimage end|altimage end]], with the following general structure: | |||
<syntaxhighlight lang="HTML"> | |||
{{altimage start}} | |||
{{altimage | ...}} | |||
{{altimage | ...}} | |||
... | |||
{{altimage end}} | |||
</syntaxhighlight> | |||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 18:58, 25 October 2020
This template is used to display alternate images for an infobox in an "image carousel" format.
This is similar to, but a more advanced version of Template:Infobox image and gif. This version supports multiple images.
One or more instances of this template must be wrapped between altimage start and altimage end, with the following general structure:
{{altimage start}}
{{altimage | ...}}
{{altimage | ...}}
...
{{altimage end}}