Difference between revisions of "Template:BubbleBox"
ink>GuyPerfect m |
ink>GuyPerfect m |
||
| Line 19: | Line 19: | ||
==== Markup ==== | ==== Markup ==== | ||
| − | <nowiki>{{BubbleBox|background=bubbles|color={{SiteColor|Splatoon 2}} | + | <nowiki>{{BubbleBox|background=bubbles|color={{SiteColor|Splatoon 2}}}} |
| + | This is some sample content. | ||
</div></nowiki> | </div></nowiki> | ||
==== Output ==== | ==== Output ==== | ||
| − | {{User:GuyPerfect/BubbleBox|background=bubbles|color={{User:GuyPerfect/SiteColor|Splatoon 2}} | + | {{User:GuyPerfect/BubbleBox|background=bubbles|color={{User:GuyPerfect/SiteColor|Splatoon 2}}}} |
| + | This is some sample content. | ||
</div> | </div> | ||
</noinclude> | </noinclude> | ||
Revision as of 05:02, 17 January 2017
Produces a site-standard content container. This produces an unterminated <div> element.
Usage
{{BubbleBox
|background=
|color=
|style=
}}
Parameters
background - A CSS color value to use as the background for the content portion of the container, or "bubbles" for the site-standard bubble background. The default color is white.
color - An RGB hex triplet to use as the border color of the container. The default color is #999999.
style - A CSS property list to apply to the container.
Example
Markup
{{BubbleBox|background=bubbles|color={{SiteColor|Splatoon 2}}}}
This is some sample content.
</div>
Output
User:GuyPerfect/BubbleBox This is some sample content.