Difference between revisions of "Template:Quotebox"
m |
|||
Line 105: | Line 105: | ||
|Lol}} | |Lol}} | ||
Note: Always use the non-breaking hyphen character <code>‑</code>, U+2011, coded by <code>&#8209;</code> or <code>&#x2011;</code>. Using regular hyphens can result in line breaks. Likewise, always use <code>NNBSP</code> for spaces, as regular spaces can also result in line breaks. | Note: Always use the non-breaking hyphen character <code>‑</code>, U+2011, coded by <code>&#8209;</code> or <code>&#x2011;</code>. Using regular hyphens can result in line breaks. Likewise, always use <code>&nbsp;</code> or <code>NNBSP</code> for spaces, as regular spaces can also result in line breaks. | ||
==Default Parameters== | ==Default Parameters== |
Revision as of 19:48, 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.