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

편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
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:{{{resize|}}}|{{!}}{{{resize}}}px|{{#if:{{{bSize|}}}|{{!}}{{{bSize}}}px}}}}|alt={{{Alt|{{{Description|{{{Image}}}}}}}}}{{#if:{{{Link|}}}|{{!}}link={{{Link}}}}}{{#if:{{{Page|}}}|{{!}}page={{{Page}}}}}]]</div><!--
--><div class="noresize">[[File:{{{Image}}}{{#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>
21번째 줄: 21번째 줄:
</div>
</div>
</div>{{#switch:{{{Location|{{{Align|}}}}}}
</div>{{#switch:{{{Location|{{{Align|}}}}}}
| center | centre = </div>}}{{#ifeq:1|{{ifnumber|{{{cWidth|}}}{{{cHeight|}}}{{{oTop|}}}{{{oLeft|}}}{{{bSize|}}}}}||[[Category:CSS image crop using invalid parameters]]}}}}<noinclude>
| center | centre = </div>}}{{#ifeq:1|{{ifnumber|{{{cWidth|}}}{{{cHeight|}}}{{{oTop|}}}{{{oLeft|}}}{{{bSize|}}}}}||<!-- [[Category:CSS image crop using invalid parameters]]-->}}}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

2022년 6월 16일 (목) 01:47 기준 최신판

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