Template:Image frame: Difference between revisions

From Legendary Hardcore Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#switch: {{{align|}}} | center | centre= <div class="center"> }}<div class="thumb {{#switch: {{{align|}}} | right |#default=tright | left=tleft | center | centre | none=tnone}}" {{#ifeq: {{{mode|}}} | scrollable|style="overflow:hidden;width:{{{width|auto}}};max-width:{{#if:{{{max-width|}}}|{{#ifeq: {{{border|}}} | no |{{#expr:{{{max-width|}}}+8}}px|{{#expr:{{{max-width|}}}+10}}px}}|{{#ifeq: {{{border|}}} | no |{{#expr:{{{width|}}}+8}}px|{{#expr:{{{width|}}..."
 
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{align|}}} | center | centre= <div class="center"> }}<div class="thumb {{#switch: {{{align|}}} | right |#default=tright | left=tleft | center | centre | none=tnone}}" {{#ifeq: {{{mode|}}} | scrollable|style="overflow:hidden;width:{{{width|auto}}};max-width:{{#if:{{{max-width|}}}|{{#ifeq: {{{border|}}} | no |{{#expr:{{{max-width|}}}+8}}px|{{#expr:{{{max-width|}}}+10}}px}}|{{#ifeq: {{{border|}}} | no |{{#expr:{{{width|}}}+8}}px|{{#expr:{{{width|}}}+10}}px}}}} {{{style|}}}"|style="{{{style|}}}"}}><div class="thumbinner" {{#ifeq: {{{mode|}}} | scrollable||style="width:{{#if:{{{width|}}}| {{#ifeq: {{{border|}}} | no | {{{width}}}px | {{#expr:{{{width}}}+2}}px}} |-moz-fit-content; width:fit-content;}}"}}>{{#ifeq: {{{pos|}}} | top | <div class="thumbcaption">{{#if: {{{link|}}} | {{align|right|{{{linkoverride|[[File:Information icon4.svg|16px|link={{{link}}}{{#if: {{{link_text|}}} | {{!}}{{{link_text}}}}}]]}}}}} |}}{{{caption|}}}</div> |}}<div class="{{#ifeq: {{{border|}}} | no | {{#ifeq: {{{mode|}}} | scrollable||center}} | thumbimage }} noresize" style="width:{{#if:{{{width|}}}| {{{width}}}px | auto }};{{#ifeq: {{{mode|}}} | scrollable|overflow:auto;{{#ifeq:{{{dir|}}}|rtl|direction:rtl;}}}}{{{innerstyle|}}}">{{#ifeq: {{{mode|}}} | scrollable|{{#ifeq: {{{nowrap|}}} | yes |<div class="nowrap">}}}}
<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;"
{{{content}}}{{#ifeq: {{{mode|}}} | scrollable|{{#ifeq: {{{nowrap|}}} | yes |</div>}}}}</div>{{#ifeq: {{{pos|}}} | top || {{#if:{{{caption|}}}|<div class="thumbcaption">{{#if: {{{link|}}} | {{align|right|{{{linkoverride|[[File:Information icon4.svg|16px|link={{{link}}}{{#if: {{{link_text|}}} | {{!}}{{{link_text}}}}}]]}}}}} }}{{{caption|}}}</div>}} }}</div></div>{{#switch: {{{align|}}} | center | centre= </div> }}</includeonly>
|-
| style="padding: 10px; background-color: #ffffff; text-align: center;" |
<div style="width: 280px; margin: 0 auto; overflow: hidden;">
{{{content}}}
{{#if: {{{link|}}} | <div style="margin-top: 15px; font-weight: bold; font-size: 90%;">[[{{{link}}}|Raw data]]</div> }}
</div>
|-
| style="padding: 10px; text-align: center; font-weight: bold; font-size: 95%; background-color: #f8f9fa; border-top: 1px solid #a2a9b1;" | {{{caption}}}
|}</includeonly>

Latest revision as of 10:42, 25 February 2026