틀:Side box/doc: 두 판 사이의 차이

Revi HQ
내용 추가됨 내용 삭제됨
편집 요약 없음
(→‎Usage: table)
6번째 줄: 6번째 줄:


== Usage ==
== Usage ==
{|
*{{para|text}} – the text to display in the box
|style="width:9.0em;"| {{para|text}} || the text to display in the box </tr>
*{{para|image}} &ndash; a full image tag (or other content)
*{{para|imageright}} &ndash; a full image tag (or other content) to display in a separate table cell on the right of the box
| {{para|image}} || a full image tag (or other content) </tr>
*{{para|position}} &ndash; if set to <code>left</code>, floats the box on the left side of the page rather than the right
| {{para|imageright}} || a full image tag (or other content) to display in a separate table cell on the right of the box </tr>
| {{para|position}} || if set to {{code|left}}, floats the box on the left side of the page rather than the right </tr>
*{{para|style}} &ndash; styles to apply to the box
*{{para|textstyle}} &ndash; styles to apply to the text cells only
| {{para|style}} || styles to apply to the box </tr>
| {{para|textstyle}} || styles to apply to the text cells only </tr>
*{{para|below}} &ndash; content to appear in a separate row underneath the main cell (and spanning the entire width of the box)
| {{para|below}} || content to appear in a separate row underneath the main cell (and spanning the entire width of the box) </tr>
|}


== See also ==
== See also ==

2014년 5월 28일 (수) 06:58 판

This template is a meta-template that can be used to create nicely-styled floating content boxes.

Usage

틀:Para the text to display in the box
틀:Para a full image tag (or other content)
틀:Para a full image tag (or other content) to display in a separate table cell on the right of the box
틀:Para if set to left, floats the box on the left side of the page rather than the right
틀:Para styles to apply to the box
틀:Para styles to apply to the text cells only
틀:Para content to appear in a separate row underneath the main cell (and spanning the entire width of the box)

See also