Template:MessageBubble: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) mNo edit summary |
DokkeFyxen (talk | contribs) mNo edit summary |
||
(One intermediate revision 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;" | {| class="message-bubble-{{{style|round}}}" style="border-spacing: 0; {{ #if: {{{title|}}} | margin-top:8px; | }}" | ||
|class="message-bubble{{ #if: {{{title|}}} | -title | }}" | <font face="Crikey Squat" color="#000">{{{title|}}}</font> | |class="message-bubble{{ #if: {{{title|}}} | -title | }}" | <font face="Crikey Squat" color="#000">{{{title|}}}</font> | ||
|style="padding:24px 50px; height:{{{height|50px}}}; background-size:{{{height|100px}}}; width:{{{width|100%}}}; | <font face="Omnes Regular" color="#000" size="+1">{{{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> | ||
|}</div> | |}</div> | ||
</includeonly><noinclude> | </includeonly><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. }}