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
Line 1: Line 1:
<includeonly><div class="speech-bubble">
+
<includeonly><div class="speech-bubble{{#ifeq: {{{direction}}}|left|| 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: right">{{{speaker}}}</div></includeonly><noinclude>
  
 
Generates a "speech bubble".
 
Generates a "speech bubble".
  
== Example ==
+
== Left Example ==
  
<nowiki></nowiki>
+
<nowiki>{{Speech Bubble
 +
|speaker=Rogean
 +
|speech=I like hamsters
 +
}}</nowiki>
  
{{Speech Bubble|Rogean|I like hamsters}}
+
{{Speech Bubble
 +
|speaker=Rogean
 +
|speech=I like hamsters
 +
}}
 +
 
 +
 
 +
== Right Example ==
 +
<nowiki>{{Speech Bubble
 +
|direction=right
 +
|speaker=Rogean
 +
|speech=I like hamsters
 +
}}</nowiki>
 +
 
 +
{{Speech Bubble
 +
|direction=right
 +
|speaker=Rogean
 +
|speech=I like hamsters
 +
}}
  
 
</noinclude>
 
</noinclude>

Revision as of 23:35, 25 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