Template:Capsule/doc: Difference between revisions
Jump to navigation
Jump to search
m (→Example) |
m (→Example) |
||
Line 14: | Line 14: | ||
{{MdCode|<nowiki>{{capsule|capbg=#4a6821|contbg=#324419|color=#fff|Some text}}</nowiki>}} | {{MdCode|<nowiki>{{capsule|capbg=#4a6821|contbg=#324419|color=#fff|Some text}}</nowiki>}} | ||
{{capsule|capbg=#4a6821|contbg=#324419|color=#fff|Some text}} | {{capsule|capbg=#4a6821|contbg=#324419|color=#fff|Some text 1<br>Some text 2<br>Some text 3}} |
Revision as of 23:30, 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 1
Some text 2
Some text 3
Some text 2
Some text 3