Template:Capsule

Valve Developer Community
둘러보기로 이동 검색으로 이동
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [보기] [편집] [만들기 한국어 (ko)]
Icon-translate.png Available doc translations
Info.png
The Template:Capsule/doc/ko documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.

This template is designed to add a block with rounded corners with text inside.

Parameters and Examples

Parameter Description Example Preview
No parameters Reverts to default styling
{{Capsule}}
{{{1}}} or {{{text}}} For text input
{{Capsule|Hello, world!}}
{{Capsule|text=Hello, world!}}
Hello, world!
Styling parameters
{{{align}}} For specifying text alignment
{{Capsule|Hello, world!|align=left}}
{{Capsule|Hello, world!|align=center}}
{{Capsule|Hello, world!|align=right}}
Hello, world!
Hello, world!
Hello, world!
{{{bg}}} Background value
{{Capsule|bg=#294157}}
{{{radius}}} For setting the border radius
{{Capsule|radius=1em}}
{{{padding}}} Padding value
{{Capsule|padding=2em}}
{{{margin}}} Margin value
{{Capsule|margin=0 1em}}
{{{height}}} For specifying capsule height
{{Capsule|height=100px}}
{{{style}}} Used to change preset styling of the capsule.
{{Capsule|style=1}}
{{Capsule|style=2}}
{{Capsule|style=3}}