틀:CSS image crop: 두 판 사이의 차이

(새 문서: {{#if:{{{Image|}}}|{{#switch:{{{Location|{{{Align|}}}}}} | center | centre = <div class="center">}}<div class="{{#if:{{{Description|}}}|thumb <!-- -->{{#switch:{{{Location|{{{Align|}}}}}} | none | tnone | center | centre = tnone | left | tleft = tleft | right | tright = tright | #default = tright }}|<!-- if no description: -->{{#switch:{{{Location|{{{Align|}}}}}} | none | center | centre = floatnone | left = floatleft | right = floatright}}}}"> {{#if:{{{Description|}}}|<d...)
 
편집 요약 없음
13번째 줄: 13번째 줄:
<div {{#if:{{{Description|}}}|class="thumbimage"}} style="width: {{{cWidth}}}px; height: {{{cHeight}}}px; overflow: hidden;">
<div {{#if:{{{Description|}}}|class="thumbimage"}} style="width: {{{cWidth}}}px; height: {{{cHeight}}}px; overflow: hidden;">
<div style="position: relative; top: -{{{oTop|0}}}px; left: -{{{oLeft|0}}}px; width: {{{bSize}}}px"><!--
<div style="position: relative; top: -{{{oTop|0}}}px; left: -{{{oLeft|0}}}px; width: {{{bSize}}}px"><!--
--><div class="noresize">[[File:{{{Image}}}{{#if:{{{bSize|}}}|{{!}}{{{bSize}}}px}}|alt={{{Alt|{{{Description|{{{Image}}}}}}}}}{{#if:{{{Link|}}}|{{!}}link={{{Link}}}}}{{#if:{{{Page|}}}|{{!}}page={{{Page}}}}}]]</div><!--
--><div class="noresize">[[File:{{{Image}}}{{#if:{{{resize|}}}|{{!}}{{{resize}}}px|{{#if:{{{bSize|}}}|{{!}}{{{bSize}}}px}}}}|alt={{{Alt|{{{Description|{{{Image}}}}}}}}}{{#if:{{{Link|}}}|{{!}}link={{{Link}}}}}{{#if:{{{Page|}}}|{{!}}page={{{Page}}}}}]]</div><!--
--></div>
--></div>
{{#if:{{{Description|}}}|</div>
{{#if:{{{Description|}}}|</div>

2022년 6월 12일 (일) 15:47 판

<templatestyles src="Module:Documentation/styles.css"></templatestyles>