Template:Infobox/image: Difference between revisions
Jump to navigation
Jump to search
mh>Viklo No edit summary |
No edit summary Tag: 2017 source edit |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: {{{image|}}}|<tr><td style="text-align:center" colspan="2">[[File:{{{image|}}}{{#ifeq: {{{nooptions|}}}|yes||{{!}}{{#if: {{{options|}}}|{{{options|}}}|frameless}}}}]]{{#if: {{{caption|}}}|<div>{{{caption|}}}</div>}}</td></tr>}}</onlyinclude> | <onlyinclude>{{#if: {{{image|}}}|<tr><td style="text-align:center" colspan="2">[[File:{{{image|}}}{{#ifeq: {{{nooptions|}}}|yes||{{!}}{{#if: {{{options|}}}|{{{options|}}}|frameless}}}}]]{{#if: {{{caption|}}}|<div>{{{caption|}}}</div>}}</td></tr>|<nowiki />}}</onlyinclude> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>[[Category:Infobox templates|*]] | ||
{{Documentation}}</noinclude> |
Latest revision as of 06:31, 15 December 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.