Difference between revisions of "Template:User talk bubble"
(new) |
m (→Usage: replaced: List of colors → {{W|List of colors}}) |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>This template creates a "word bubble" that you can use on talk pages and wherever else discussions take place. An example can be seen below.</noinclude> | <noinclude>This template creates a "word bubble" that you can use on talk pages and wherever else discussions take place. An example can be seen below.</noinclude> | ||
{| style="background:transparent;" | {| style="background:transparent;" | ||
| − | | valign="top" | [[File:{{{image}}} | + | | valign="top" | {{{{{subst|}}}#if:{{{image|}}}|[[File:{{{image}}}]]}} |
| | | | ||
{| width="100%" border="0" cellpadding="0" cellspacing="0" | {| width="100%" border="0" cellpadding="0" cellspacing="0" | ||
| Line 37: | Line 37: | ||
| style="background:gray;" width="1" | | | style="background:gray;" width="1" | | ||
| style="background:{{{color}}};" colspan="4" width="4" | | | style="background:{{{color}}};" colspan="4" width="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}}};" | {{{{{subst|}}}#if:{{{name|}}}|'''[[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" width="4" | | | style="background:{{{color}}};" colspan="4" width="4" | | ||
| style="background:gray;" width="1" | | | style="background:gray;" width="1" | | ||
| Line 158: | Line 158: | ||
}} | }} | ||
</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); a list of colors can be found at Wikipedia's | + | 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 Wikipedia's {{W|List of colors}} article. Note that for the image field, you have to leave out the "Image:" 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> | ||
{{<name of template> | {{<name of template> | ||
| Line 165: | Line 165: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | == Examples == | ||
| + | |||
| + | === [[User:TheDataMonster|TheDataMonster]] === | ||
| + | {{TheDataMonster}} | ||
| + | <noinclude>[[Category:Templates]]</noinclude> | ||
Latest revision as of 10:58, April 26, 2024
This template creates a "word bubble" that you can use on talk pages and wherever else discussions take place. An example can be seen below.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Usage[edit]
To make your own version of this template you first must create a template with your username in it. For example, if your username is "User", then you make your word bubble at "Template:User". Next, on your template page ("Template:User"), add the following code.
{{User talk 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 Wikipedia's List of colors article. Note that for the image field, you have to leave out the "Image:" 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:
{{<name of template>
|time = ~~~~~
|text = Blah blah blah.
}}
Examples[edit]
TheDataMonster[edit]
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
