Template:Capsule/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 30: Line 30:
| bg = #294157
| bg = #294157
| align = center
| align = center
| text = [[File:Icon-panorama.png|text-bottom|16px|link=]] <b style="color:white">Hello, World!</b>
| text = [[File:Icon-panorama-filled.png|text-bottom|16px|link=]] <b style="color:white">Hello, World!</b>
}}</nowiki>}}
}}</nowiki>}}
{{Capsule
{{Capsule

Revision as of 01:18, 29 April 2023

Edit-copy.png
This is a documentation subpage for Template:Capsule.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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

Template:ModernTodo

Examples

{{Capsule|Hello, World!}}
Hello, World!


{{Capsule|style=1|Hello, World!}}
Hello, World!


{{Capsule|style=2|Hello, World!}}
Hello, World!


{{Capsule|style=3|Some text}}
Some text


{{Capsule|style=1|Some text}}
Some text


{{Capsule | style = 1 | bg = #294157 | align = center | text = [[File:Icon-panorama-filled.png|text-bottom|16px|link=]] <b style="color:white">Hello, World!</b> }}
Icon-panorama-filled.png Hello, World!