Template:Image frame: Difference between revisions

From Legendary Hardcore Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div class="thumb {{#switch: {{{align|}}} | left=tleft | center=tnone | none=tnone | #default=tright }}" style="{{#ifeq: {{{align|}}} | center | margin-left:auto; margin-right:auto; | }} width: {{#if: {{{width|}}} | {{#expr: {{{width}}} + 10}}px | auto }};">
<includeonly><div style="float: right; clear: right; margin: 0.5em 0 1.3em 1.4em; background: none; width: {{#if: {{{width|}}} | {{#expr: {{{width}}} + 20}}px | auto }};">
     <div class="thumbinner" style="width: {{#if: {{{width|}}} | {{#expr: {{{width}}} + 8}}px | auto }}; background-color: #f8f9fa; border: 1px solid #c8ccd1; padding: 3px; text-align: center;">
     <div style="border: 1px solid #c8ccd1; background-color: #f8f9fa; padding: 3px; text-align: center;">
          
          
         {{#if: {{{title|}}} | <div style="font-weight: bold; padding: 3px;">{{{title}}}</div> }}
         {{#if: {{{title|}}} | <div style="font-weight: bold; padding: 5px 3px;">{{{title}}}</div> }}


         <div class="thumbimage" style="background-color: #ffffff; border: 1px solid #c8ccd1; margin: 0 auto; width: {{{width|auto}}}px;">
         <div style="border: 1px solid #c8ccd1; background-color: #ffffff; padding: 8px; margin: 0 auto;">
            {{{content}}}
            <div style="width: {{{width|auto}}}px; margin: 0 auto;">
                {{{content}}}
            </div>
         </div>
         </div>


         {{#if: {{{caption|}}} |  
         {{#if: {{{caption|}}} |  
             <div class="thumbcaption" style="text-align: left; font-size: 94%; padding: 3px;">
             <div style="text-align: left; font-size: 88%; padding: 8px 3px 3px 3px; line-height: 1.4em;">
                 {{{caption}}}
                 {{{caption}}}
             </div>  
             </div>  

Revision as of 10:31, 25 February 2026