Template:Img: Difference between revisions
From Ragnafied Wiki
Created page with "[[File:{{{file|}}}|thumb|{{#if:{{{width|}}}|{{{width}}}px|300px}}|{{#if:{{{align|}}}|{{{align}}}|center}}|{{{caption|}}}]] {{Img |file=MountFuji.jpg |width=400 |caption=Beautiful Mount Fuji in spring |align=right }}" |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="text-align:{{{align|center}}}; margin:10px;"> | |||
{{#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