Template:MessageBubble: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
(WIP Template Page)
 
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="display: inline-block;">
<includeonly><div class="message-bubble" style="display: inline-block;">
{| style="border-spacing: 0;"
{| class="message-bubble-{{{style|round}}}" style="border-spacing: 0; {{ #if: {{{title|}}} | margin-top:8px; | }}"  
|class="message-bubble-{{{style|round}}}-edge" style="height:100px; width:48px; background-size: 100px; background-color:#000" |
|class="message-bubble{{ #if: {{{title|}}} | -title | }}" | <font face="Crikey Squat" color="#000">{{{title|}}}</font>  
|class="message-bubble-{{{style|round}}}-repeat" style="height:100px; background-size: 100px; width:300px; background-color:#000" | <font face="Omnes Regular" color="#000">{{{content|}}}</font>  
|style="padding:24px 50px; {{ #if: {{{title|}}} | padding-top:26px; | }} height:{{{height|50px}}}; background-size:{{{height|100px}}}; width:{{{width|100%}}}; | <font face="Omnes Regular" color="#000" size="+1">{{{content|}}}</font>
|class="message-bubble-{{{style|round}}}-edge" style="height:100px; width:46px; background-size: 100px; background-position-x: right; background-color:#000" |
|}</div>
|}</div>
</includeonly><noinclude>
</includeonly><noinclude>


{{MessageBubble|content=Bubble Testing!}}
{{MessageBubble|content=This is a ROUND message bubble!}}
{{MessageBubble|style=cloud|content=Bubble Testing!}}
{{MessageBubble|style=cloud|content=This is a CLOUD message bubble!}}
{{MessageBubble|style=spike|content=Bubble Testing!}}
{{MessageBubble|style=spike|content=This is a SPIKE message bubble!}}


Creates a message bubble.
{{MessageBubble|title=The Collector|content=This is a bubble with a NAME!}}
 
{{MessageBubble|height=200px|width=600px|content=This is a very large bubble!}}
 
Use this template to display a message bubble for speech or other dialogue.
==Usage==
<pre>
{{MessageBubble
|style=   The style of message bubble used (round, cloud, or spike)
|height=      The minimum height of the message bubble.
|width=      The minimum width of the message bubble.
|title=       The name of the character speaking, if applicable.
|content=   The text to be displayed inside the message bubble.
|desc=   Use this to provide a brief description of the tweak's functionality.
}}
</pre>
 
''[[Special:WhatLinksHere/{{FULLPAGENAMEE}}|Pages that use this template]]''
[[Category:Content box templates]]
</noinclude>
</noinclude>

Latest revision as of 22:47, 23 June 2024


This is a ROUND message bubble!
This is a CLOUD message bubble!
This is a SPIKE message bubble!


The Collector This is a bubble with a NAME!


This is a very large bubble!


Use this template to display a message bubble for speech or other dialogue.

Usage

{{MessageBubble
|style=		  The style of message bubble used (round, cloud, or spike)
|height=      The minimum height of the message bubble.
|width=       The minimum width of the message bubble.
|title=	      The name of the character speaking, if applicable.
|content=	  The text to be displayed inside the message bubble.
|desc=		  Use this to provide a brief description of the tweak's functionality.
}}

Pages that use this template