편집 요약 없음 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
<noinclude> | <noinclude> | ||
{{#template_params:이미지| | {{#template_params:이미지|스타일|설명}} | ||
</noinclude><includeonly><div class="img_box thumbinner" {{#if:{{{ | </noinclude><includeonly><div class="img_box thumbinner" {{#if:{{{스타일|}}} | style="{{{스타일|}}}" }}>{{{이미지|}}} {{#if:{{{설명|}}} | <br />{{{설명|}}}}}</div></includeonly> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
18번째 줄: | 18번째 줄: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "스타일": { | ||
"label": " | "label": "스타일", | ||
"description": " | "description": "스타일", | ||
"example": "400px | "example": "width: 400px; float: right; 등", | ||
"type": "line", | "type": "line", | ||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
"description": "이미지를 본문 가운데 정렬로 보여주는 틀 (기본 사이즈 400px)\n특히 외부 이미지 링크로 삽입 시 유용", | "description": "이미지를 본문 가운데 정렬로 보여주는 틀 (기본 사이즈 400px)\n특히 외부 이미지 링크로 삽입 시 유용\n필요시 스타일을 별도로 지정할 수 있음", | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |