Difference between revisions of "Template:Image frame"

From Tâi-oân-pit
Jump to navigation Jump to search
(Chhòng-chō phè-jih kiau "<includeonly>{{#ifeq: {{{align|}}} | center | <div class="center"> }}<div class="thumb {{#switch: {{{align|}}} | right |#default=tright | left=tleft | center | none=t...")
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{#ifeq: {{{align|}}} | center | <div class="center"> }}<div class="thumb {{#switch: {{{align|}}} | right |#default=tright | left=tleft | center | none=tnone}}" {{#ifeq: {{{mode|}}} | scrollable|style="overflow:hidden;width:{{{width|auto}}};max-width:{{#if:{{{max-width|}}}|{{#expr:{{{max-width|}}}+8}}px|100%}} {{{style|}}}"|style="{{{style|}}}"}}><div class="thumbinner" {{#ifeq: {{{mode|}}} | scrollable||style="width:{{#if:{{{width|}}}| {{#ifeq: {{{border|}}} | no | {{{width}}}px | {{#expr:{{{width}}}+2}}px}} |fit-content; width:-moz-fit-content; width:-webkit-fit-content;}}}}">{{#ifeq: {{{pos|}}} | top | <div class="thumbcaption">{{#if: {{{link|}}} | <div style="float:right">{{{linkoverride|[[File:Desc-i.svg|16px|link={{{link}}}{{#if: {{{link_text|}}} | {{!}}{{{link_text}}}}}]]}}}</div> |}}{{{caption|}}}</div> |}}<div class="{{#ifeq: {{{mode|}}} | scrollable||{{#ifeq: {{{border|}}} | no | center | thumbimage }}}} noresize" style="width:{{#if:{{{width|}}}| {{{width}}}px | auto }};{{#ifeq: {{{mode|}}} | scrollable|overflow:auto;{{#ifeq:{{{dir|}}}|rtl|direction:rtl;}}}}{{{innerstyle|}}}">{{#ifeq: {{{mode|}}} | scrollable|<div style="white-space:nowrap">}}
<includeonly>{{#ifeq: {{{align|}}} | center | <div class="center"> }}<div class="thumb {{#switch: {{{align|}}} | right |#default=tright | left=tleft | center | none=tnone}}" {{#ifeq: {{{mode|}}} | scrollable|style="overflow:hidden;width:{{{width|auto}}};max-width:{{#if:{{{max-width|}}}|{{#expr:{{{max-width|}}}+8}}px|100%}} {{{style|}}}"|style="{{{style|}}}"}}><div class="thumbinner" {{#ifeq: {{{mode|}}} | scrollable||style="width:{{#if:{{{width|}}}| {{#ifeq: {{{border|}}} | no | {{{width}}}px | {{#expr:{{{width}}}+2}}px}} |fit-content; width:-moz-fit-content; width:-webkit-fit-content;}}}}">{{#ifeq: {{{pos|}}} | top | <div class="thumbcaption">{{#if: {{{link|}}} | <div style="float:right">{{{linkoverride|[[File:Desc-i.svg|16px|link={{{link}}}{{#if: {{{link_text|}}} | {{!}}{{{link_text}}}}}]]}}}</div> |}}{{{caption|}}}</div> |}}<div class="{{#ifeq: {{{mode|}}} | scrollable||{{#ifeq: {{{border|}}} | no | center | thumbimage }}}} noresize" style="width:{{#if:{{{width|}}}| {{{width}}}px | auto }};{{#ifeq: {{{mode|}}} | scrollable|overflow:auto;{{#ifeq:{{{dir|}}}|rtl|direction:rtl;}}}}{{{innerstyle|}}}">{{#ifeq: {{{mode|}}} | scrollable|<div style="white-space:nowrap">}}
{{{content}}}{{#ifeq: {{{mode|}}} | scrollable|</div>}}</div>{{#ifeq: {{{pos|}}} | top || {{#if:{{{caption|}}}|<div class="thumbcaption">{{#if: {{{link|}}} | <div style="float:right">{{{linkoverride|[[File:Desc-i.svg|16px|link={{{link}}}{{#if: {{{link_text|}}} | {{!}}{{{link_text}}}}}]]}}}</div> }}{{{caption|}}}</div>}} }}</div></div>{{#ifeq: {{{align|}}} | center | </div> }}</includeonly><noinclude>
{{{content}}}{{#ifeq: {{{mode|}}} | scrollable|</div>}}</div>{{#ifeq: {{{pos|}}} | top || {{#if:{{{caption|}}}|<div class="thumbcaption">{{#if: {{{link|}}} | <div style="float:right">{{{linkoverride|[[File:Desc-i.svg|16px|link={{{link}}}{{#if: {{{link_text|}}} | {{!}}{{{link_text}}}}}]]}}}</div> }}{{{caption|}}}</div>}} }}</div></div>{{#ifeq: {{{align|}}} | center | </div> }}</includeonly><noinclude>
Pún pang-bô͘ sī tùi [[en:Template:Image_frame]] khó͘-pih--lâi.
Pún pang-bô͘ sī tùi [[wikipedia:en:Template:Image_frame]] khó͘-pih--lâi.
</noinclude>
</noinclude>

Latest revision as of 2021 nî 4 goe̍h 26 ji̍t, 07:00

Pún pang-bô͘ sī tùi wikipedia:en:Template:Image_frame khó͘-pih--lâi.