Template:Modular infobox: Difference between revisions
DansFriend (talk | contribs) (Created page with "{| class="infobox noexcerpt" cellpadding="5" cellspacing="5" width="350px" |- ! colspan="3" | '''{{{name|{{PAGENAME}}}}}''' |- {{#if: {{{image|}}} | {{#switch:{{{image}}} |No image |None |No = <!-- -->{{!}} colspan="3" style="text-align: center;" {{!}} <small>''No official depiction of the subject exists.''</small> |#default= <!-- -->{{!}} colspan="3" style="text-align: center;" {{!}}[[Image:{{{image}}}|250px]]<br>{{#if: {{{caption|}}} | ''<small>{{{caption}}}</small>''}...") |
DansFriend (talk | contribs) No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox noexcerpt" cellpadding="5" cellspacing="5" width="350px" | {| class="infobox noexcerpt" cellpadding="5" cellspacing="5" width="350px" | ||
|- | |- | ||
! colspan="3" | '''{{{name|{{PAGENAME}}}}}''' | ! colspan="{{{colspan|3}}}" | '''{{{name|{{PAGENAME}}}}}''' | ||
{{#if: {{{video|}}} | {{{video}}} }} | |||
|- | |- | ||
{{#if: {{{image|}}} | {{#switch:{{{image}}} | {{#if: {{{image|}}} | {{#switch:{{{image}}} | ||
Line 7: | Line 8: | ||
|None | |None | ||
|No = | |No = | ||
<!-- -->{{!}} colspan="3" style="text-align: center;" {{!}} <small>''No official depiction of the subject exists.''</small> | <!-- -->{{!}} colspan="{{{colspan|3}}}" style="text-align: center;" {{!}} <small>''No official depiction of the subject exists.''</small> | ||
|#default= | |#default= | ||
<!-- -->{{!}} colspan="3" style="text-align: center;" {{!}}[[Image:{{{image}}}| | <!-- -->{{!}} 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 |
---|