Template:ArtLifeEntry/Image: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Created page with "<includeonly><!-- --><div style="display:inline-block;padding:4px;text-align:center;">[[File:{{{file|none.png}}}|{{{size|150px}}}|{{{subject|}}}]]<br>{{{caption|}}}</div> </in...") |
(linking documentation) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div style="display:inline-block;padding:4px;text-align:center;">[[File:{{{file|none.png}}}|{{{size|150px}}}|{{{subject|}}}]]<br>{{{caption|}}}</div> | --><div style="display:inline-block;padding:4px;text-align:center;">[[File:{{{file|none.png}}}|{{{size|150px}}}|{{{subject|}}}]]<br>{{{caption|}}}</div> | ||
</includeonly><noinclude>[[Category:Table templates]]</noinclude> | </includeonly><noinclude> | ||
{{documentation}} | |||
[[Category:Table templates]]</noinclude> |
Latest revision as of 06:47, 25 June 2023
Template documentation
View or edit this documentation. (About template documentation)
Note: portions of the template sample may not be visible without values provided.
{{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]])}}