Template:Img: Difference between revisions

From Ragnafied Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{#if:{{{file|}}}
<div style="text-align:{{{align|center}}}; margin:10px;">
   | [[File:{{{file}}}|thumb|{{#if:{{{width|}}}|{{{width}}}px|300px}}|{{#if:{{{align|}}}|{{{align}}}|center}}|{{{caption|}}}]]
   {{#if:{{{file|}}}
}}
  | <img src="{{{file}}}" style="max-width:{{{width|300}}}px;" />
  }}
  {{#if:{{{caption|}}}
  | <div style="font-size:smaller; font-style:italic;">{{{caption}}}</div>
  }}
</div>

Latest revision as of 19:51, 10 June 2025