Template:Infobox/image: Difference between revisions
Jump to navigation
Jump to search
mh>Viklo (this may or may not work) |
mh>Viklo (this is probably better) |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: {{{image|}}}|<tr><td style="text-align:center" colspan="2">{{{image|}}}{{#if: {{{caption|}}}|<div>{{{caption|}}}</div>}}</td></tr>}}</onlyinclude> | <onlyinclude>{{#if: {{{image|}}}|<tr><td style="text-align:center" colspan="2">[[File:{{{image|}}}|frameless]]{{#if: {{{caption|}}}|<div>{{{caption|}}}</div>}}</td></tr>}}</onlyinclude> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> |
Revision as of 01:11, 14 March 2024
Documentation
File:Kyaw-cen-city-photo.png Caption |
This is a template for image elements in infoboxes. The parameters are:
- image
- The filename of the image, e.g.
Kyaw-cen-city-photo.png
- caption
- The (optional) caption
- options
- An optional parameter with options for the image. The default value is
frameless
. If you actually want no options, setnooptions
toyes
. - nooptions
- If
yes
, the image will have no options.