Template:Text Bubble

From Create Your Own Story

(Difference between revisions)
(Test 2)
m (added some instructions that shouldn't be included in the template itself.)
 
Line 1: Line 1:
-
<p style="display:inline-block; height: auto; background: {{{bubblecolor| #d3d3d3}}}; position: relative; float: {{{align|left}}}; clear: both; margin-{{{shortmargin|left}}}: 5px; margin-{{{longmargin|right}}}: 20px; -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; text-align:center; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px;"><font color={{{fontcolor| black}}}>{{{message}}}</font color></p><noInclude>[[Category: Leaving Templates|Text Bubble]][[Category: Templates]]</noInclude>
+
<p style="display:inline-block; height: auto; background: {{{bubblecolor| #d3d3d3}}}; position: relative; float: {{{align|left}}}; clear: both; margin-{{{shortmargin|left}}}: 5px; margin-{{{longmargin|right}}}: 20px; -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; text-align:center; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px;"><font color={{{fontcolor| black}}}>{{{message}}}</font color></p><noInclude>
 +
 
 +
<noInclude>'''"Bubblecolor"''' = color of the text bubble. Can be any valid named or hex code color designation.
 +
 
 +
'''"Align"''' = alignment of the bubble. Left or right only.
 +
 
 +
'''"Longmargin" and "Shortmargin"''' = Longmargin is 20px, Short margin is 5px, they can be left or right but one has to be left and the other has to be right. Ideally, the Shortmargin should be the same as Align and Longmargin the opposite.
 +
 
 +
'''"Fontcolor"''' = color of the font in the bubble. Can be any valid named or hex code color designation.
 +
 
 +
'''"Message"''' = message to be displayed inside the chat bubble.
 +
 
 +
[[Category: Leaving Templates|Text Bubble]][[Category: Templates]]</noInclude>

Current revision as of 21:35, 28 June 2016

{{{message}}}

"Bubblecolor" = color of the text bubble. Can be any valid named or hex code color designation.

"Align" = alignment of the bubble. Left or right only.

"Longmargin" and "Shortmargin" = Longmargin is 20px, Short margin is 5px, they can be left or right but one has to be left and the other has to be right. Ideally, the Shortmargin should be the same as Align and Longmargin the opposite.

"Fontcolor" = color of the font in the bubble. Can be any valid named or hex code color designation.

"Message" = message to be displayed inside the chat bubble.

Personal tools