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

Revi HQ
내용 추가됨 내용 삭제됨
("see opposite")
(→‎Usage: add previously undocumented parameters)
10번째 줄: 10번째 줄:


== Usage ==
== Usage ==

{|
{| class="wikitable"
|style="width:9.0em;"| {{para|text}} || the text to display in the box </tr>
|-
| {{para|image}} || a full image tag (or other content) </tr>
| {{para|imageright}} || a full image tag (or other content) to display in a separate table cell on the right of the box </tr>
|style="width:9.0em;"| {{para|text}} || the text to display in the box
|-
| {{para|position}} || if set to {{code|left}}, floats the box on the left side of the page rather than the right </tr>
| {{para|metadata}} || if set to {{code|no}}, suppresses the "metadata" HTML class </tr>
| {{para|image}} || a full image tag (or other content); if this is not present or set to "none", no image is displayed
|-
| {{para|style}} || styles to apply to the box </tr>
| {{para|textstyle}} || styles to apply to the text cells only </tr>
| {{para|imageright}} || a full image tag (or other content) to display in a separate table cell on the right 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>
| {{para|position}} || if set to {{code|left}}, floats the box on the left side of the page rather than the right
|-
| {{para|metadata}} || if set to {{code|no}}, suppresses the "metadata" HTML class
|-
| {{para|class}} || CSS classes to apply to the box
|-
| {{para|style}} || styles to apply to the box
|-
| {{para|textstyle}} || styles to apply to the text cells only
|-
| {{para|above}} || content to appear in a separate row above the main cell (and spanning the entire width of the box)
|-
| {{para|abovestyle}} || styles to apply to the above cell only
|-
| {{para|below}} || content to appear in a separate row underneath the main cell (and spanning the entire width of the box)
|}
|}



2014년 6월 26일 (목) 19:02 판

틀:Clear right 틀:Sidebox This template is a meta-template that can be used to create nicely-styled floating content boxes (see opposite).

Usage

틀:Para the text to display in the box
틀:Para a full image tag (or other content); if this is not present or set to "none", no image is displayed
틀: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 if set to no, suppresses the "metadata" HTML class
틀:Para CSS classes to apply to the box
틀:Para styles to apply to the box
틀:Para styles to apply to the text cells only
틀:Para content to appear in a separate row above the main cell (and spanning the entire width of the box)
틀:Para styles to apply to the above cell only
틀:Para content to appear in a separate row underneath the main cell (and spanning the entire width of the box)

See also

틀:Lua