Difference between revisions of "Template:InfoBox/Image"

From Detective Conan Wiki
(See also)
(Center the image; added size parameter)
Line 1: Line 1:
<includeonly><div style="margin: 4px 0;">{{#if: {{{1|}}} | [[File:{{{1}}}|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]].

Revision as of 03:26, 21 December 2025