Difference between revisions of "Template:BubbleBox"

From WikiMe @ iroiro.io
Jump to: navigation, search
ink>GuyPerfect
(Created page with "<includeonly><div {{#ifeq:{{{background|}}}|bubbles|class="bubbleboxbg"}} style="box-shadow: 0px 0px 15px #ffffff inset; border-width: 10px 1px 10px 1px; border-style: solid;...")
 
ink>GuyPerfect
m
Line 6: Line 6:
  
 
==== Parameters ====
 
==== Parameters ====
''background'' - The background color for the content portion of the container, or "bubbles" for the site-standard bubble background. The default color is white.
+
''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'' - The border color of the container. The default color is #999999.
+
''color'' - A CSS color value to use as the border color of the container. The default color is #999999.
  
 
''content'' - The document markup for the contents of the container.
 
''content'' - The document markup for the contents of the container.
Line 15: Line 15:
  
 
==== Markup ====
 
==== Markup ====
  <nowiki>{{BubbleBox|background=bubbles|color={{SiteColor|Splatoon 2}}|content=This is some sample content.}}</nowiki>
+
  <nowiki>{{BubbleBox|background=bubbles|color=rgb({{SiteColor|Splatoon 2}})|content=This is some sample content.}}</nowiki>
  
 
==== Output ====
 
==== Output ====
{{User:GuyPerfect/BubbleBox|background=bubbles|color={{User:GuyPerfect/SiteColor|Splatoon 2}}|content=This is some sample content.}}
+
{{User:GuyPerfect/BubbleBox|background=bubbles|color=rgb({{User:GuyPerfect/SiteColor|Splatoon 2}})|content=This is some sample content.}}
 
</noinclude>
 
</noinclude>

Revision as of 02:22, 17 January 2017


Produces a site-standard content container.

Usage

{{BubbleBox|background=background|color=color|content=content}}

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 - A CSS color value to use as the border color of the container. The default color is #999999.

content - The document markup for the contents of the container.

Example

Markup

{{BubbleBox|background=bubbles|color=rgb({{SiteColor|Splatoon 2}})|content=This is some sample content.}}

Output

User:GuyPerfect/BubbleBox