Template:Modular infobox: Difference between revisions
DansFriend (talk | contribs) mNo edit summary |
DansFriend (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
! colspan="{{{colspan|3}}}" | '''{{{name|{{PAGENAME}}}}}''' | ! colspan="{{{colspan|3}}}" | '''{{{name|{{PAGENAME}}}}}''' | ||
{{#if: {{{video|}}} | {{{video}}} }} | |||
|- | |- | ||
{{#if: {{{image|}}} | {{#switch:{{{image}}} | {{#if: {{{image|}}} | {{#switch:{{{image}}} | ||
Line 11: | Line 12: | ||
<!-- -->{{!}} colspan="{{{colspan|3}}}" style="text-align: center;" {{!}}[[Image:{{{image}}}|{{{imagewidth|250}}}px]]<br>{{#if: {{{caption|}}} | ''<small>{{{caption}}}</small>''}} | <!-- -->{{!}} colspan="{{{colspan|3}}}" style="text-align: center;" {{!}}[[Image:{{{image}}}|{{{imagewidth|250}}}px]]<br>{{#if: {{{caption|}}} | ''<small>{{{caption}}}</small>''}} | ||
}} | }} | ||
}} | | {{#if: {{{video|}}} | |<includeonly>[[Category:Infoboxes lacking an image]]</includeonly>}}}} | ||
|- | |- | ||
{{#if: {{{1|}}} | | {{#if: {{{1|}}} | |
Latest revision as of 23:30, 11 March 2025
Modular infobox |
---|