편집
46,573
번
편집 요약 없음 |
편집 요약 없음 |
||
(같은 사용자의 중간 판 25개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
<noinclude> | <noinclude> | ||
{{ | ==사용법== | ||
</noinclude><includeonly> | "이미지" 틀입니다. | ||
<div class="img_box">{{{이미지|}}} {{#if:{{{설명|}}} | < | 외부 이미지를 표시하는데 사용합니다. | ||
===소스 편집 화면=== | |||
아래와 같이 입력합니다. | |||
<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> | <noinclude> | ||
<templatedata> | <templatedata> | ||
11번째 줄: | 24번째 줄: | ||
"description": "이미지 주소", | "description": "이미지 주소", | ||
"type": "line", | "type": "line", | ||
"required": true | "required": true, | ||
"autovalue": "" | |||
}, | }, | ||
"설명": { | "설명": { | ||
18번째 줄: | 32번째 줄: | ||
"type": "line", | "type": "line", | ||
"required": true | "required": true | ||
}, | |||
"스타일": { | |||
"label": "스타일", | |||
"description": "스타일", | |||
"example": "width: 400px; float: right; 등", | |||
"type": "line", | |||
"required": true, | |||
"autovalue": "width: 203px; float: right; margin-left: 15px; clear: right;" | |||
} | } | ||
}, | }, | ||
"description": " | "description": "이미지를 본문 가운데 정렬로 보여주는 틀 (기본 사이즈 400px)\n특히 외부 이미지 링크로 삽입 시 유용\n필요시 스타일을 별도로 지정할 수 있음", | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
__NOTOC__ | |||
[[분류:이미지]] |