Template:Capsule/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{doc|0}}</noinclude> | <noinclude>{{doc|0}}</noinclude> | ||
This template is based on a capsule from the Wiki's Main Page. | |||
{{ModernTodo|There may be problems with the {{MdCode|display:flex;}}}} | |||
==Parameters== | ==Parameters== | ||
{{param|1}} - input content | {{param|1}} - input content | ||
Line 14: | Line 18: | ||
{{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| | {{capsule|capbg=#4a6821|contbg=#324419|color=#fff|[[Image:Dota workshop.png|link=Dota 2 Workshop Tools]] [[Dota 2 Workshop Tools|'''Go to the Dota 2 Workshop Tools documentation index''']]}} | ||
[[Image:Dota workshop.png|link=Dota 2 Workshop Tools]] [[Dota 2 Workshop Tools|'''Go to the Dota 2 Workshop Tools documentation index''']] | |||
}} |
Revision as of 23:37, 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.
This template is based on a capsule from the Wiki's Main Page.
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}}