틀:Side box/doc: 두 판 사이의 차이
Revi HQ
내용 추가됨 내용 삭제됨
(→Usage: add previously undocumented parameters) |
(add an above row to the example) |
||
4번째 줄: | 4번째 줄: | ||
{{clear right}} |
{{clear right}} |
||
{{Sidebox |metadata=no |image={{smaller|(''image'')}} |imageright={{smaller|(''image<br/>right'')}} |
{{Sidebox |metadata=no |image={{smaller|(''image'')}} |imageright={{smaller|(''image<br/>right'')}} |
||
|above=content to appear in a separate row above the main cell {{smaller|(''above'')}} |
|||
|text=the text to display in the box {{smaller|(''text'')}} |
|text=the text to display in the box {{smaller|(''text'')}} |
||
|below=content to appear in a separate row underneath the main cell {{smaller|(''below'')}} |
|below=content to appear in a separate row underneath the main cell {{smaller|(''below'')}} |
2014년 6월 26일 (목) 19:18 판
This is a documentation subpage for 틀:Side box. It contains usage information, categories and other content that is not part of the original 틀 page. |
This template is used on 650,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing any changes on the talk page before implementing them. |
틀: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
- {{Mbox}}
- {{Sidebar box}}