ChatTags

ChatTags is a script that enables users to customize their messages on chat.

They act like HTML tags and are indicated by square brackets, "[ ]", similar to BBCode.

Installation
Important: This script is not for personal use. Do not add this to your global.js.

If you already have set up custom JavaScript for your chat (if not, follow this guide), add the following to MediaWiki:Chat.js:

Usage
Important: Tags should always be closed, except for the  and   tags. {|
 * width="33%" |
 * width="33%" |
 * width="33%" |

b
Boldface text.

→ Boldfaced text

bg
Add background to text.

→ Red background

big
Make text bigger.

→ Big text

c
Change color of text.

→ Purple text

f
Change font of text.

→ Serif text

i
Italicize text.

→ Italicized text

img
Embeds the image.

→

p
Preformat text.

→

s
Add strikethrough to text.

→ Text with strikethrough

small
Make text smaller.

→ Small text

sp
Hides text.

→ Show spoiler

sub
Position text below the line.

→ Subscript

sup
Position text above the line.

→ Superscript

u
Underline text.

→ Underlined text

yt
Embeds the YouTube video.


 * }

Multiple
→ such code very tags much chat wow

and  for images


 * 27 December 2013
 * Added big, small, and image tags


 * 24 December 2013
 * Added subscript and superscript tags


 * 12 December 2013
 * Fixed bug where tags do not work on main chat when switching between this and private chat (thanks Benfutbol10 for reporting!)


 * 11 December 2013
 * Fixed bug where links do not work (thanks Benfutbol10 for reporting!)


 * 10 December 2013
 * Initial release