Difference between revisions of "Template:Word Bubble"

From Nookipedia, the Animal Crossing wiki
(Added usage.)
m (Text replacement - "width="(.*?)" style="" to "style="width: $1; ")
Line 136: Line 136:
 
| style="background:{{{color2}}};" style="background:gray;" height="1" width="1" |
 
| 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}}};" width="1" height="1" style="background:gray;" |
+
| style="background:{{{color2}}};" style="width: 1" height="1; background:gray;" |
 
| colspan="4" width="4" height="1" |
 
| colspan="4" width="4" height="1" |
 
|}
 
|}

Revision as of 17:45, July 13, 2021

[[File:{{{image}}}|50px]]
[[User:{{{name}}}|{{{name}}}]] – {{{sig}}}
[[User talk:{{{name}}}|TALK]]
{{{text}}}

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); a list of colors can be found at Help:Colors. 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:

Wiki.png
User – This is a signature
TALK – 23:08, March 14, 2019 (EDT)
Hello World