Template:ArtLifeEntry/Image/doc: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (fixed typo) |
m (display template link in code tag) |
||
Line 1: | Line 1: | ||
{{template|ArtLifeEntry/Image}} is to be used for displaying captioned images inside of {{Template|ArtLifeEntry}}. | |||
==Usage== | ==Usage== |
Latest revision as of 09:16, 30 January 2024
{{ArtLifeEntry/Image}}
is to be used for displaying captioned images inside of {{ArtLifeEntry}}
.
Usage
{{ArtLifeEntry/Image |file= |size= |subject= |caption= }}
Template Fields
- file - Name of the image file. Defaults to none.png.
- size (optional) - Size of the image. Defaults to 150px.
- subject - Text to be displayed when hovering over the image.
- caption - Caption text to be displayed below the image.
Examples
Standard use
{{ArtLifeEntry/Image|file=Art Life 20230116 Bulbasaur.jpg|subject=Bulbasaur|caption=[[Bulbasaur (S-P Promo 337)]]<br>(Illus. [[Julie Hang]])}} {{ArtLifeEntry/Image|file=Art Life 20230116 Arcanine.jpg|subject=Arcanine|caption=[[Arcanine (S-P Promo 338)]]<br>(Illus. [[REND]])}} {{ArtLifeEntry/Image|file=Art Life 20230116 Greninja.jpg|subject=Greninja|caption=[[Greninja (S-P Promo 339)]]<br>(Illus. [[Taiga Kasai]])}}