Template:BubbleBox

From WikiMe @ iroiro.io
Revision as of 07:47, 18 January 2017 by ink>GuyPerfect (Removing extra newline)
Jump to: navigation, search

Produces a site-standard content container.

Parameters

content Unnamed. The content of the container, or "open" to leave the container as an unterminated <div> element.
background Optional. 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.
border Optional. An RGB triplet to use as the border color of the container. The default color is 192, 192, 192.
style Optional. A CSS property list to apply to the container.

Example

Markup

{{BubbleBox|background=rgba({{SiteColor|Splatoon}}, 0.25)|border={{SiteColor|Splatoon}}|Sample text}}
{{BubbleBox|open|background=bubbles|border={{SiteColor|Splatoon 2}}}}Sample text</div>

Output

User:GuyPerfect/BubbleBox

User:GuyPerfect/BubbleBoxSample text