Template:IMG1: Difference between revisions

From 5Era
Jump to navigation Jump to search
(Created page with "<div style="text-align: center; margin: 1em 0;"> <img src="{{{1}}}" alt="{{{2|Imagen externa}}}" style="max-width: 100%; height: auto; border: 1px solid #ccc; padding: 4px; border-radius: 6px;"> {{#if:{{{2|}}}|<div style="font-size: 90%; color: #666;">{{{2}}}</div>}} </div><noinclude> {{PAGENAME}} </noinclude>")
 
No edit summary
 
Line 1: Line 1:
<div style="text-align: center; margin: 1em 0;">
{{#tag:html|
  <img src="{{{1}}}" alt="{{{2|Imagen externa}}}" style="max-width: 100%; height: auto; border: 1px solid #ccc; padding: 4px; border-radius: 6px;">
  <div style="text-align: center; margin: 1em 0;">
  {{#if:{{{2|}}}|<div style="font-size: 90%; color: #666;">{{{2}}}</div>}}
    <img src="{{{1}}}" alt="{{{2|Imagen externa}}}" style="max-width: 100%; height: auto; border: 1px solid #ccc; padding: 4px; border-radius: 6px;">
</div><noinclude>
    <div style="font-size: 90%; color: #666;">{{{2}}}</div>
  </div>
}}
<noinclude>
[[Category:Formatting templates|{{PAGENAME}}]]
[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 17:55, 18 June 2025

Imagen externa
{{{2}}}