Template:Img: Difference between revisions

From Ragnafied Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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;" />
 
  }}
{{Img
  {{#if:{{{caption|}}}
|file=MountFuji.jpg
  | <div style="font-size:smaller; font-style:italic;">{{{caption}}}</div>
|width=400
  }}
|caption=Beautiful Mount Fuji in spring
</div>
|align=right
}}

Latest revision as of 19:51, 10 June 2025