Difference between revisions of "Template:InfoBox/Image"

From Detective Conan Wiki
(Center the image; added size parameter)
(Added caption parameter)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div style="text-align:center; margin: 4px 0;">{{#if: {{{1|}}} | [[File:{{{1}}}|{{#if:{{{size|}}}|{{{size}}}|275px}}}]]}}</div>
+
<includeonly><div style="text-align:center; margin: 4px 0;">{{#if: {{{1|}}} | [[File:{{{1}}}|{{#if:{{{size|}}}|{{{size}}}|275px}}]]}}{{#if: {{{caption|}}} | <br> {{{caption}}} }}</div>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
This template allows you to insert an image and is meant to be used in conjunction with [[Template:InfoBox]].
 
This template allows you to insert an image and is meant to be used in conjunction with [[Template:InfoBox]].

Latest revision as of 05:27, 30 January 2026