Difference between revisions of "Template:InfoBox/Image"

From Detective Conan Wiki
(Center the image; added size parameter)
m
 
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}}]]}}</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 03:27, 21 December 2025