Template:Capsule/doc: Difference between revisions
Jump to navigation
Jump to search
Hello, World!
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{Doc|0}}</noinclude> | <noinclude>{{Doc|0}}</noinclude> | ||
This template is designed to add a block with rounded corners with text inside. | This template is designed to add a block with rounded corners with text inside. | ||
==Examples== | ==Examples== | ||
{{CodeBlock|style=1| | {{CodeBlock|style=1|<nowiki>{{Capsule|style=1|Some text}}</nowiki>}} | ||
{{Capsule|Some text}} | {{Capsule|style=1|Some text}} | ||
{{CodeBlock|style=1| | {{CodeBlock|style=1|<nowiki>{{Capsule|style=1|bg=#294157|align=center|1=[[File:Icon-panorama.png|text-bottom|16px|link=]] <b style="color:white">Hello, World!</b>}}</nowiki>}} | ||
{{Capsule| | {{Capsule|style=1|bg=#294157|align=center|1=[[File:Icon-panorama.png|text-bottom|16px|link=]] <b style="color:white">Hello, World!</b>}} |
Revision as of 10:43, 11 February 2023

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.
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.
Examples
Some text
