Difference between revisions of "Template:Word Bubble"
SuperAlpaca (talk | contribs) (Created page with "{| style="background:transparent;" | valign="center" | [[File:{{{image}}}|50px]] | {| width="100%" border="0" cellpadding="0" cellspacing="0" | colspan="9" width="9" height="1" |...") |
PanchamBro (talk | contribs) (removing deprecated html) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
| valign="center" | [[File:{{{image}}}|50px]] | | valign="center" | [[File:{{{image}}}|50px]] | ||
| | | | ||
− | {| | + | {| style="width:100%" border="0" cellpadding="0" cellspacing="0" |
− | | colspan="9" | + | | colspan="9" style="width:9" height="1" | |
− | | style="background:gray; | + | | style="background:gray; height:1; width:"1" | |
− | | style="background:gray; | + | | style="background:gray; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | colspan="4" | + | | colspan="4" style="width:4; height:1" | |
|- | |- | ||
− | | colspan="8" | + | | colspan="8" style="width:8; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color}}}; | + | | style="background:{{{color}}}; width:1; height:1" | |
− | | style="background:{{{color}}}; | + | | style="background:{{{color}}}; height:1" | |
− | | style="background:{{{color}}}; | + | | style="background:{{{color}}}; width:1; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | colspan="3" | + | | colspan="3" style="width:3; height:1" | |
|- | |- | ||
− | | colspan="7" | + | | colspan="7" style="width:7; height:1" | |
− | | style="background:gray;" | + | | style="background:gray;" style="width:1; height:1"| |
− | | style="background:{{{color}}};" colspan="2" | + | | style="background:{{{color}}}; width:2; height:1" colspan="2" | |
− | | style="background:{{{color}}}; | + | | style="background:{{{color}}}; height:1" | |
− | | style="background:{{{color}}};" colspan="2 | + | | style="background:{{{color}}}; width:2; height:1" colspan="2" | |
− | | style="background:gray; | + | | style="background:gray; width:1; "height:1" | |
− | | colspan="2" | + | | colspan="2" style="width:2; height:1" | |
|- | |- | ||
− | | colspan="6" | + | | colspan="6" style="width:6; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color}}};" colspan="3 | + | | style="background:{{{color}}}; width:3 height:1" colspan="3" | |
− | | style="background:{{{color}}}; | + | | style="background:{{{color}}}; height:1" | |
− | | style="background:{{{color}}};" colspan="3 | + | | style="background:{{{color}}}; width:3; height:1" colspan="3" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | | + | | style="width:1; height:1" | |
|- | |- | ||
− | | colspan="5" | + | | colspan="5" style="width:5" | |
− | | style="background:gray; | + | | style="background:gray; width:1" | |
− | | style="background:{{{color}}};" colspan="4" | + | | style="background:{{{color}}}; width:4" colspan="4" | |
| style="background:{{{color}}};" | '''[[User:{{{name}}}|<span style="color:{{{textcolor}}}; font-family:{{{fonttype}}};">{{{name}}}</span>]] <span style="color:{{{textcolor}}}; font-family:{{{fonttype}}};">– {{{sig}}}'''</span><br />[[User talk:{{{name}}}|<span style="color:{{{textcolor}}}; font-size:xx-small; font-family:{{{fonttype}}};">TALK</span>]]{{#if:{{{time|}}}| <span style="color:{{{textcolor}}}; font-size:xx-small; font-family:{{{fonttype}}};">– {{{time}}}</span>|}} | | style="background:{{{color}}};" | '''[[User:{{{name}}}|<span style="color:{{{textcolor}}}; font-family:{{{fonttype}}};">{{{name}}}</span>]] <span style="color:{{{textcolor}}}; font-family:{{{fonttype}}};">– {{{sig}}}'''</span><br />[[User talk:{{{name}}}|<span style="color:{{{textcolor}}}; font-size:xx-small; font-family:{{{fonttype}}};">TALK</span>]]{{#if:{{{time|}}}| <span style="color:{{{textcolor}}}; font-size:xx-small; font-family:{{{fonttype}}};">– {{{time}}}</span>|}} | ||
− | | style="background:{{{color}}};" colspan="4" | + | | style="background:{{{color}}}; width:4" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1" | |
|- | |- | ||
− | | colspan="4" | + | | colspan="4" style="width:4" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color}}};" colspan="5" | + | | style="background:{{{color}}}; width:5" colspan="5" | |
− | | style="background:{{{color}}}; | + | | style="background:{{{color}}}; height:1" | |
− | | style="background:{{{color}}};" colspan="4" | + | | style="background:{{{color}}}; width:4; height:1" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
|- | |- | ||
− | | colspan="3" | + | | colspan="3" style="width:3; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color}}};" colspan="6 | + | | style="background:{{{color}}}; width:6; height:1" colspan="6" | |
− | | style="background:{{{color}}}; | + | | style="background:{{{color}}}; height:1" | |
− | | style="background:{{{color}}};" colspan="4" | + | | style="background:{{{color}}}; width:4; height:1" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
|- | |- | ||
− | | colspan="2" | + | | colspan="2" style="width:2; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color}}};" colspan="7" | + | | style="background:{{{color}}}; width:7; height:1" colspan="7" | |
− | | style="background:{{{color}}}; | + | | style="background:{{{color}}}; height:1" | |
− | | style="background:{{{color}}};" colspan="4" | + | | style="background:{{{color}}}; width:4; height:1" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
|- | |- | ||
− | | | + | | style="width:1; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color}}};" colspan="8" | + | | style="background:{{{color}}}; width:8; height:1" colspan="8" | |
− | | style="background:{{{color}}}; | + | | style="background:{{{color}}}; height:1" | |
− | | style="background:{{{color}}};" colspan="4" | + | | style="background:{{{color}}}; width:4; height:1" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
|- | |- | ||
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color2}}};" colspan="9" | + | | style="background:{{{color2}}}; width:9; height:1" colspan="9" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; height:1" style="background:{{{line}}};" | |
− | | style="background:{{{color2}}};" colspan="4" | + | | style="background:{{{color2}}}; width:4; height:1" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
|- | |- | ||
− | | | + | | style="width:1; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color2}}};" colspan="8 | + | | style="background:{{{color2}}}; width:8; height:1" colspan="8" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; height:1" | |
− | | style="background:{{{color2}}};" colspan="4" | + | | style="background:{{{color2}}}; width:4; height:1" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
|- | |- | ||
− | | colspan="2" | + | | colspan="2" style="width:2; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; width:7" height:1" colspan="7" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; height:1" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; width:4" height:1" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
|- | |- | ||
− | | colspan="3" | + | | colspan="3" style="width:3; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color2}}};" colspan="6" | + | | style="background:{{{color2}}}; width:6; height:1" colspan="6" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; height:1" | |
− | | style="background:{{{color2}}};" colspan="4 | + | | style="background:{{{color2}}}; width:4; height:1" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
|- | |- | ||
− | | colspan="4" | + | | colspan="4" style="width:4; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color2}}};" colspan | + | | style="background:{{{color2}}}; width:5" colspan="5" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; height:1" | |
− | | style="background:{{{color2}}};" colspan="4" | + | | style="background:{{{color2}}}; width:4; height:1" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
|- | |- | ||
− | | colspan="5" | + | | colspan="5" style="width:5" | |
− | | style="background:gray; | + | | style="background:gray; width:1" | |
− | | style="background:{{{color2}}};" colspan="4" | + | | style="background:{{{color2}}}; width:4; height:1" colspan="4" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; height:1" | <span style="color:{{{textcolor2}}}; font-family:{{{fonttype}}};"> {{{text}}}</span> |
− | | style="background:{{{color2}}};" colspan="4 | + | | style="background:{{{color2}}}; width:4; height:1" colspan="4" | |
− | | style="background:gray; | + | | style="background:gray; width:1" | |
|- | |- | ||
− | | colspan="6" | + | | colspan="6" style="width:6; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color2}}};" colspan="3 | + | | style="background:{{{color2}}}; width:3; height:1" colspan="3" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; height:1" | |
− | | style="background:{{{color2}}};" colspan="3 | + | | style="background:{{{color2}}}; width:3; height:1" colspan="3" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | | + | | style="width:1; height:1" | |
|- | |- | ||
− | | colspan="7" | + | | colspan="7" style="width:7; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color2}}};" colspan="2" | + | | style="background:{{{color2}}}; width:2; height:1" colspan="2" | |
| style="background:{{{color2}}};" height="1" | | | style="background:{{{color2}}};" height="1" | | ||
− | | style="background:{{{color2}}};" colspan="2 | + | | style="background:{{{color2}}}; width:2; height:1" colspan="2" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | colspan="2" | + | | colspan="2" style="width:2; height:1" | |
|- | |- | ||
− | | colspan="8" | + | | colspan="8" style="width:8; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; width:1; height:1" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; height:1" | |
− | | style="background:{{{color2}}}; | + | | style="background:{{{color2}}}; width:1; height:1" | |
− | | style="background:gray; | + | | style="background:gray; width:1; height:1" | |
− | | colspan="3" | + | | colspan="3" style="width:3; height:1" | |
|- | |- | ||
− | | colspan="9" | + | | colspan="9" style="width:9; height:1" | |
− | | style="background:{{{color2}}};" style="background:gray; | + | | style="background:{{{color2}}};" style="background:gray; height:1; width:1" | |
| style="background:{{{color2}}};" height="1" style="background:gray;" | | | style="background:{{{color2}}};" height="1" style="background:gray;" | | ||
− | | style="background:{{{color2}}};" | + | | style="background:{{{color2}}};" style="width: 1" height="1" background:gray;" | |
− | | colspan="4" | + | | colspan="4" style="width:4; height:1" | |
|} | |} | ||
|} | |} | ||
Line 143: | Line 143: | ||
This template creates a "word bubble" that you can use on talk pages and wherever else discussions take place. An example can be seen both above and below. | This template creates a "word bubble" that you can use on talk pages and wherever else discussions take place. An example can be seen both above and below. | ||
==Usage== | ==Usage== | ||
− | To make your own version of this template you first must create a template | + | To make your own version of this template you first must create a template '''in your userspace''' (usually the subpage <tt>TalkBubble</tt>). For example, if your username is "Username", then you make your word bubble at <tt>User:ExampleUser/TalkBubble</tt>. On that page, add the following code: |
<pre> | <pre> | ||
{{Word Bubble | {{Word Bubble | ||
Line 159: | Line 159: | ||
}} | }} | ||
</pre> | </pre> | ||
− | You can fill in the fields to whatever you want, with the colors either being in hexadecimal notation (e.g. #FFF) or in words (e.g. white) | + | You can fill in the fields to whatever you want, with the colors either being in hexadecimal notation (e.g. #FFF) or in words (e.g. white). Note that for the image field, you have to leave out the "File:" part of the filename. Once you have filled in the fields, your word bubble is ready to be used. On talk pages, you can now include it with this code: |
<pre> | <pre> | ||
− | {{ | + | {{subst:User:ExampleUser/TalkBubble|text=Blah blah blah.|time=~~~~~}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
== Example == | == Example == | ||
− | + | [[User:ExampleUser/TalkBubble]] contains the following: | |
<pre> | <pre> | ||
{{Word Bubble | {{Word Bubble | ||
|image = Wiki.png | |image = Wiki.png | ||
− | |color = | + | |color = #dc143c |
− | |color2 = | + | |color2 = #143 |
|textcolor = white | |textcolor = white | ||
− | |textcolor2 = | + | |textcolor2 = lavender |
|line = yellow | |line = yellow | ||
− | |fonttype = | + | |fonttype = Coustard |
|name = User | |name = User | ||
− | |sig = | + | |sig = This is a signature |
− | |time = | + | |time = {{{time}}} |
− | |text = | + | |text = {{{text}}} |
}} | }} | ||
</pre> | </pre> | ||
+ | Running <tt><nowiki>{{subst:User:ExampleUser/TalkBubble|text=Hello World|time=~~~~~}}</nowiki></tt> will create the following: | ||
+ | <!-- For those who will edit this template in the future, please replace the substituted template below with | ||
+ | {{subst:User:ExampleUser/TalkBubble|text=Hello World|time=~~~~~}} --> | ||
{{Word Bubble | {{Word Bubble | ||
|image = Wiki.png | |image = Wiki.png | ||
− | |color = | + | |color = #dc143c |
− | |color2 = | + | |color2 = #143 |
|textcolor = white | |textcolor = white | ||
− | |textcolor2 = | + | |textcolor2 = lavender |
|line = yellow | |line = yellow | ||
− | |fonttype = | + | |fonttype = Coustard |
|name = User | |name = User | ||
− | |sig = | + | |sig = This is a signature |
− | |time = | + | |time = 23:08, March 14, 2019 (EDT) |
− | |text = | + | |text = Hello World |
}} | }} | ||
+ | [[Category:Message templates]] | ||
</noinclude> | </noinclude> | ||
− |
Latest revision as of 03:41, May 10, 2022
[[File:{{{image}}}|50px]] |
|
This template creates a "word bubble" that you can use on talk pages and wherever else discussions take place. An example can be seen both above and below.
Usage
To make your own version of this template you first must create a template in your userspace (usually the subpage TalkBubble). For example, if your username is "Username", then you make your word bubble at User:ExampleUser/TalkBubble. On that page, add the following code:
{{Word Bubble |image = |color = |color2 = |textcolor = |textcolor2 = |line = |fonttype = |name = |sig = |time = {{{time}}} |text = {{{text}}} }}
You can fill in the fields to whatever you want, with the colors either being in hexadecimal notation (e.g. #FFF) or in words (e.g. white). Note that for the image field, you have to leave out the "File:" part of the filename. Once you have filled in the fields, your word bubble is ready to be used. On talk pages, you can now include it with this code:
{{subst:User:ExampleUser/TalkBubble|text=Blah blah blah.|time=~~~~~}}
Example
User:ExampleUser/TalkBubble contains the following:
{{Word Bubble |image = Wiki.png |color = #dc143c |color2 = #143 |textcolor = white |textcolor2 = lavender |line = yellow |fonttype = Coustard |name = User |sig = This is a signature |time = {{{time}}} |text = {{{text}}} }}
Running {{subst:User:ExampleUser/TalkBubble|text=Hello World|time=~~~~~}} will create the following:
|