Template:Capsule/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
{{param|capbg}} - controls the capsule background | {{param|capbg}} - controls the capsule background | ||
{{param|contbg}} - controls the background of the capsule content | {{param|contbg}} - controls the background of the capsule content | ||
Line 18: | Line 16: | ||
{{MdCode|<nowiki>{{capsule|capbg=#4a6821|Some text}}</nowiki>}} | {{MdCode|<nowiki>{{capsule|capbg=#4a6821|Some text}}</nowiki>}} | ||
{{capsule|capbg=#4a6821|Some text}} | {{capsule|capbg=#4a6821|Some text}} | ||
{{MdCode|<nowiki>{{capsule|capbg=#253b4e|contbg=#2b4c6a|color=#fff|Some text}}</nowiki>}} | {{MdCode|<nowiki>{{capsule|capbg=#253b4e|contbg=#2b4c6a|color=#fff|Some text}}</nowiki>}} | ||
{{capsule|capbg=#253b4e|contbg=#2b4c6a|color=#fff|[[File:Steamtours workshop.png|link=SteamVR/Environments]] [[SteamVR/Environments|<span style="color:white;">'''Go to the SteamVR Workshop Tools documentation index'''</span>]]}} | {{capsule|capbg=#253b4e|contbg=#2b4c6a|color=#fff|[[File:Steamtours workshop.png|link=SteamVR/Environments]] [[SteamVR/Environments|<span style="color:white;">'''Go to the SteamVR Workshop Tools documentation index'''</span>]]}} |
Revision as of 00:18, 10 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 capsule background
{{{contbg}}} - controls the background of the capsule content
Example
{{capsule|capbg=#4a6821|Some text}}
Some text
{{capsule|capbg=#253b4e|contbg=#2b4c6a|color=#fff|Some text}}