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

Revi HQ
내용 추가됨 내용 삭제됨
(cap)
(added example, moved Lua template to See also)
1번째 줄: 1번째 줄:
{{Documentation subpage}}
{{Documentation subpage}}
{{high-risk| 650,000+ }}
{{High-risk|650,000+ }}
{{lua|Module:Side box}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{clear right}}

{{Sidebox |metadata=no |image={{smaller|(''image'')}} |imageright={{smaller|(''image<br/>right'')}}
|text=the text to display in the box {{smaller|(''text'')}}
|below=content to appear in a separate row underneath the main cell {{smaller|(''below'')}}
}}
This template is a meta-template that can be used to create nicely-styled floating content boxes.
This template is a meta-template that can be used to create nicely-styled floating content boxes.


19번째 줄: 22번째 줄:


== See also ==
== See also ==
{{Lua|Module:Side box}}
*{{tl|Mbox}}
*{{tl|Mbox}}
*{{tl|Sidebar box}}
*{{tl|Sidebar box}}

2014년 6월 26일 (목) 15:52 판

틀:Clear right 틀:Sidebox 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 if set to no, suppresses the "metadata" HTML class
틀: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

틀:Lua