Template:MessageBubble: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) mNo edit summary |
DokkeFyxen (talk | contribs) mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="message-bubble" style="display: inline-block;"> | <includeonly><div class="message-bubble" style="display: inline-block;"> | ||
{ | {| class="message-bubble-{{{style|round}}}" style="border-spacing: 0; {{ #if: {{{title|}}} | margin-top:8px; | }}" | ||
|class="message-bubble-{{{style|round}}} | |class="message-bubble{{ #if: {{{title|}}} | -title | }}" | <font face="Crikey Squat" color="#000">{{{title|}}}</font> | ||
|class="message-bubble | |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> | ||
| | |||
|}</div> | |}</div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{MessageBubble|content= | {{MessageBubble|content=This is a ROUND message bubble!}} | ||
{{MessageBubble|style=cloud|content= | {{MessageBubble|style=cloud|content=This is a CLOUD message bubble!}} | ||
{{MessageBubble|style=spike|content= | {{MessageBubble|style=spike|content=This is a SPIKE message bubble!}} | ||
{{MessageBubble|title=The Collector|content=This is a bubble with a NAME!}} | |||
[[Special:WhatLinksHere/ | |||
[[Category: | {{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
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. }}