Difference between revisions of "Template:Quotebox"
Line 1: | Line 1: | ||
{| class="{{{2}}}"; style="background:{{{background|#E6F2FF}}}; border:1px dotted {{{border|#A3B1BF}}}; color:{{{color|black}}}; padding:3px; margin-bottom:8px" | {| class="{{{2}}}"; style="background:{{{background|#E6F2FF}}}; border:1px dotted {{{border|#A3B1BF}}}; color:{{{color|black}}}; padding:3px; margin-bottom:8px" | ||
|+ align = "top"; style = "caption-side: top; text-align: left"| '''<span style = "color:black">{{{speaker|}}}'''</span> | |+ align = "top"; style = "caption-side: top; text-align: left"| '''<span style = "color:black">{{{speaker|}}}'''</span> <span style = "color:black">{{{time|}}}</span> | ||
| {{{1}}} | | {{{1}}} | ||
|}<noinclude> | |}<noinclude> |
Revision as of 20:12, 17 January 2022
{{{1}}} |
Usage
These usage notes will not be included in articles bearing this template.
This is a formatting template used primarily to color code e-mail correspondence. Generally, e-mails from Chris are colored blue using Template:Quotebox. E-mails from the other party are colored red using Template:Quoteboxred. In the event that a third party is involved in the correspondence, e-mails from that person are colored green using Template: Quoteboxgreen. When using this template in an article, it is good practice to state in the article what the color represents. For example: "E-mails from Clyde Cash are in red."
The format for using this template is as follows:
{{quoteboxred|Dear Chris, Please stop touching me. You are gross. --A Gal-Pal}} {{quotebox|PLEASE do Not "Friend-Zone" me; it makes me feel SOO much Stress. Stay Safe, Christian Weston Chandler}} {{quoteboxred|It's over Chris. Leave me alone. I'm in love with one of the trolls now. Stop calling me.}} {{quoteboxgreen|Hey, Chris, It sure is awesome having sex with your Gal-Pal! Thanks for being a total loser so she'd dump your ass and have sex with me! Your friend, A troll}} {{quotebox|You Trollin' Stupid TROLL! I pray to God and Jesus that you DIE! Stay Safe, Christian Weston Chandler}}
- Displays:
Dear Chris,
Please stop touching me. You are gross. --A Gal-Pal |
PLEASE do Not "Friend-Zone" me; it makes me feel SOO much Stress.
Stay Safe, Christian Weston Chandler |
It's over Chris.
Leave me alone. I'm in love with one of the trolls now. Stop calling me. |
Hey, Chris,
It sure is awesome having sex with your Gal-Pal! Thanks for being a total loser so she'd dump your ass and have sex with me! Your friend, A troll |
You Trollin' Stupid TROLL!
I pray to God and Jesus that you DIE! Stay Safe, Christian Weston Chandler |
|
Customizability
Outside of using the standard colored quotebox templates, parameters may be added onto this default template to customize the colors of its background, border, and text. The writer of a message can also be added on for transcriptions of chats.
The format for using this template is as follows:
{{quotebox |speaker = Blue |time = 12:00 AM |background = #CEDAF2 |border = #A3ACBF |color = white |Da-ba-de Da-ba-di}}
Da-ba-de Da-ba-di |
{{quotebox/sandbox |speaker = Blue |time = 03‑Jul‑2021 12:00 AM |background = #CEDAF2 |border = #A3ACBF |color = white |Lol}}
Lol |
Note: Always use the non-breaking hyphen character ‑
, U+2011, coded by ‑
or ‑
. Using regular hyphens can result in line breaks. Likewise, always use
or NNBSP
for spaces, as regular spaces can also result in line breaks.
Default Parameters
speaker
- The person who wrote the message can be indicated through this. Default: Blanktime
- The time the message was sent can be indicated through this. Default: Blankbackground
- Background colour of the quotebox. Default: "#E6F2FF"border
- Colour for the quotebox border. Default: "#A3B1BF"color
- Text color for the quotebox text. Default: black (It's highly recommended just to use "black" or "white" for this parameter.)
Note that you can use sRGB (rgb(255, 0, 0)), Hex triplet (#FF0000), or the name of the color (red) when entering colors in the template. The third method is discouraged, however.
Additional Help
For help on color combinations for this template, click here.