Thread:Master Hydraffe/@comment-25351220-20151103132455

(copied from wikia developers wiki)

Installation Chat Tags can easily be installed by editing the following line into your wiki's MediaWiki:Chat.js page.

importScriptPage('MediaWiki:ChatTags/code.js', 'shining-armor'); Or if your wiki is already using an importArticles statement you can add the following line to your scripts section.

'u:shining-armor:MediaWiki:ChatTags/code.js', Additionally, if you would like to enable the image tag you will need to add the following line ABOVE the script import.

var chatags = { images: true };

Usage To use Chat Tags on your wiki after installation one must only wrap their text in the designated tags that you will find below. Chat Tags functions much like HTML in that it requires a beginning tag that shows where you wish to start formatting and and ending tag to show when to stop formatting. If you do not include both of these tags then your text will be ignored by the script.

Tags must end in the order that they start

For example:

[c red]This text will be red.[/c] -> This text will be red.

[c #FF0000]This text will also be red.[/c] -> This text will also be red.

[bg red]This text will have a red background.[/bg] -> This text will have a red background.

[b]This text will be bold.[/b] -> This text will be bold.

[c red][b]This text will be red and bold.[/b][/c] -> This text will be red and bold.

Tags

Image Note: Leave the http:// off of the link [img ]

Youtube Note: www.youtube.com/watch?v=uQzGxQxn84Y [yt ]

(you should add the YouTube one btw) 