This is a wiki for a reason. Anyone can contribute. If you see something that is inaccurate or can be improved, don't ask that it be fixed--just improve it.
[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]

Difference between revisions of "Template:Speech Bubble"

From Project 1999 Wiki
Jump to: navigation, search
 
(9 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly><div class="speech-bubble">
+
<includeonly><div class="speech-bubble {{#ifeq: {{{direction}}}|right|right|}}">
  {{{2}}}
+
{{{speech}}}
  <div class="speech-bubble-arrow"></div>
+
<div class="speech-bubble-arrow"></div>
</div><div style="float: right">{{{1}}}</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".
  
== Example ==
+
== Left Example ==
  
<nowiki></nowiki>
+
<code><nowiki>{{Speech Bubble
 +
|speaker=Rogean
 +
|speech=I like hamsters
 +
}}</nowiki></code>
  
{{Speech Bubble|Rogean|I like hamsters}}
+
{{Speech Bubble
 +
|speaker=Rogean
 +
|speech=I like hamsters
 +
}}
 +
 
 +
 
 +
== Right Example ==
 +
<code><nowiki>{{Speech Bubble
 +
|direction=right
 +
|speaker=Rogean
 +
|speech=I like hamsters
 +
}}</nowiki></code>
 +
 
 +
{{Speech Bubble
 +
|direction=right
 +
|speaker=Rogean
 +
|speech=I like hamsters
 +
}}
  
 
</noinclude>
 
</noinclude>

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