편집
46,565
번
편집 요약 없음 |
편집 요약 없음 |
||
(같은 사용자의 중간 판 14개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
<noinclude> | <noinclude> | ||
{{ | ==사용법== | ||
"이미지" 틀입니다. | |||
외부 이미지를 표시하는데 사용합니다. | |||
===소스 편집 화면=== | |||
아래와 같이 입력합니다. | |||
<pre> | |||
{{이미지 | |||
|이미지=https://img.com/img.jpg | |||
|스타일=width: 400px; float: right; | |||
|설명=이미지 설명 | |||
}} | |||
</pre> | |||
===시각편집기 화면=== | |||
메뉴 '넣기'에서 틀을 불러낸 후 "이미지" 입력합니다. | |||
==틀 설명== | |||
</noinclude><includeonly><div class="img_box thumbinner" {{#if:{{{스타일|}}} | style="{{{스타일|}}}" }}>{{{이미지|}}} {{#if:{{{설명|}}} | <div class="thumbcaption">{{{설명|}}}}}</div></div></includeonly> | </noinclude><includeonly><div class="img_box thumbinner" {{#if:{{{스타일|}}} | style="{{{스타일|}}}" }}>{{{이미지|}}} {{#if:{{{설명|}}} | <div class="thumbcaption">{{{설명|}}}}}</div></div></includeonly> | ||
<noinclude> | <noinclude> | ||
10번째 줄: | 24번째 줄: | ||
"description": "이미지 주소", | "description": "이미지 주소", | ||
"type": "line", | "type": "line", | ||
"required": true | "required": true, | ||
"autovalue": "" | |||
}, | }, | ||
"설명": { | "설명": { | ||
23번째 줄: | 38번째 줄: | ||
"example": "width: 400px; float: right; 등", | "example": "width: 400px; float: right; 등", | ||
"type": "line", | "type": "line", | ||
"required": true | "required": true, | ||
"autovalue": "width: 203px; float: right; margin-left: 15px; clear: right;" | |||
} | } | ||
}, | }, | ||
31번째 줄: | 47번째 줄: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
__NOTOC__ | |||
[[분류:이미지]] |