[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]
Difference between revisions of "Template:Speech Bubble"
From Project 1999 Wiki
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div class="speech-bubble {{#ifeq: {{{direction}}}| | + | <includeonly><div class="speech-bubble {{#ifeq: {{{direction}}}|right|right|}}"> |
{{{speech}}} | {{{speech}}} | ||
<div class="speech-bubble-arrow"></div> | <div class="speech-bubble-arrow"></div> | ||
− | </div><div style="float: right">{{{speaker}}}</div></includeonly><noinclude> | + | </div><div style="float: {{#ifeq: {{{direction}}}|right|right|left}}; text-align:center;">{{{speaker}}}</div></includeonly><noinclude> |
Generates a "speech bubble". | Generates a "speech bubble". | ||
Line 8: | Line 8: | ||
== Left Example == | == Left Example == | ||
− | <nowiki>{{Speech Bubble | + | <code><nowiki>{{Speech Bubble |
|speaker=Rogean | |speaker=Rogean | ||
|speech=I like hamsters | |speech=I like hamsters | ||
− | }}</nowiki> | + | }}</nowiki></code> |
{{Speech Bubble | {{Speech Bubble | ||
Line 20: | Line 20: | ||
== Right Example == | == Right Example == | ||
− | <nowiki>{{Speech Bubble | + | <code><nowiki>{{Speech Bubble |
|direction=right | |direction=right | ||
|speaker=Rogean | |speaker=Rogean | ||
|speech=I like hamsters | |speech=I like hamsters | ||
− | }}</nowiki> | + | }}</nowiki></code> |
{{Speech Bubble | {{Speech Bubble |
Latest revision as of 05:36, 26 September 2019
Generates a "speech bubble".
Left Example
{{Speech Bubble
|speaker=Rogean
|speech=I like hamsters
}}
I like hamsters
Rogean
Right Example
{{Speech Bubble
|direction=right
|speaker=Rogean
|speech=I like hamsters
}}
I like hamsters
Rogean