Template:Infobox image and gif: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 25: Line 25:


== Usage ==
== Usage ==
'''Intended for use in infoboxes - relies on the parent infobox <code>infobox-imagearea</code> css class'''


<code><nowiki>{{infobox image and gif| image.png | image.gif | name (used for alt-text) }}</nowiki></code>
<code><nowiki>{{infobox image and gif| image.png | image.gif | name (used for alt-text) }}</nowiki></code>


Images are scaled to 150px wide by default (to match the width that <code>Template:Infobox</code> uses)
== Important Notes ==
* Intended for use only in infoboxes - relies on the parent infobox <code>infobox-imagearea</code> css class
* Images are scaled to 150px wide by default (to match the width that <code>Template:Infobox</code> uses)


== Example ==
== Example ==

Revision as of 20:48, 13 October 2020


Usage

{{infobox image and gif| image.png | image.gif | name (used for alt-text) }}

Important Notes

  • Intended for use only in infoboxes - relies on the parent infobox infobox-imagearea css class
  • Images are scaled to 150px wide by default (to match the width that Template:Infobox uses)

Example

{{infobox image and gif| Luminous hoarshroom.png | Luminous hoarshroom animated.gif | luminous hoarshroom ‎}}

luminous hoarshroom ‎
animate
sprite