Template:Capsule/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude>{{doc|0}}</noinclude> ==Example== <nowiki>{{capsule|capbg=#4a6888|contbg=green|some text}}</nowiki> {{capsule|capbg=#4a6888|contbg=green|some text}}") |
m (→Example) |
||
Line 1: | Line 1: | ||
<noinclude>{{doc|0}}</noinclude> | <noinclude>{{doc|0}}</noinclude> | ||
==Parameters== | |||
{{param|1}} - input content | |||
{{param|color}} - controls the color of the text | |||
{{param|capbg}} - controls the block background | |||
{{param|contbg}} - controls the background of the block content | |||
==Example== | ==Example== | ||
<nowiki>{{capsule|capbg=# | {{MdCode|<nowiki>{{capsule|capbg=#4a6821|Some text}}</nowiki>}} | ||
{{capsule|capbg=# | {{capsule|capbg=#4a6821|Some text}} | ||
{{MdCode|<nowiki>{{capsule|capbg=#4a6821|contbg=#324419|color=#fff|Some text}}</nowiki>}} | |||
{{capsule|capbg=#4a6821|contbg=#324419|color=#fff|Some text}} |
Revision as of 23:28, 9 December 2022

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.
Parameters
{{{1}}} - input content
{{{color}}} - controls the color of the text
{{{capbg}}} - controls the block background
{{{contbg}}} - controls the background of the block content
Example
{{capsule|capbg=#4a6821|Some text}}
Some text
{{capsule|capbg=#4a6821|contbg=#324419|color=#fff|Some text}}
Some text