Template:Image frame: Difference between revisions

From Legendary Hardcore Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
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>{| style="float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background-color: #f8f9fa; border-collapse: collapse; width: 300px; table-layout: fixed; font-family: sans-serif;"
    <div class="thumbinner" style="width: {{#if: {{{width|}}} | {{#expr: {{{width}}} + 8}}px | auto }}; background-color: #f8f9fa; border: 1px solid #c8ccd1; padding: 3px; text-align: center;">
|-
       
| style="padding: 10px; background-color: #ffffff; text-align: center;" |
        {{#if: {{{title|}}} | <div style="font-weight: bold; padding: 3px;">{{{title}}}</div> }}
<div style="width: 280px; margin: 0 auto; overflow: hidden;">
 
{{{content}}}
        <div class="thumbimage" style="background-color: #ffffff; border: 1px solid #c8ccd1; margin: 0 auto; width: {{{width|auto}}}px;">
{{#if: {{{link|}}} | <div style="margin-top: 15px; font-weight: bold; font-size: 90%;">[[{{{link}}}|Raw data]]</div> }}
            {{{content}}}
</div>
        </div>
|-
 
| style="padding: 10px; text-align: center; font-weight: bold; font-size: 95%; background-color: #f8f9fa; border-top: 1px solid #a2a9b1;" | {{{caption}}}
        {{#if: {{{caption|}}} |  
|}</includeonly>
            <div class="thumbcaption" style="text-align: left; font-size: 94%; padding: 3px;">
                {{{caption}}}
            </div>
        }}
    </div>
</div></includeonly>

Latest revision as of 10:42, 25 February 2026