Template:Chat window

From Create Your Own Story

{{{Chatroomname}}}

{{{Chattext}}}

Users:

{{{Users}}}

{{{Chaticon}}}
{{{Chatoptions}}}

Send


Variables for use with the template.

Color = color for background of user list and chaticon. This and all other color variables can accept anything that would go in after color= such as "red" or "#e5e5e5”. Yes I know just naming it "color" is confusing but it was the first one I tested to see if it was possible to change colors like this, so I'm just going to leave it be.

Users = list of users currently in the chatroom. Should be used to identify who the player cracter is chatting with either by their username or by their name, however you feel like going about it.

Chaticon = ideally where the user icon of the player character would go, if you can work out how to add one that doesn't break the rest of the window.

Bgcolor = color for chat window background, as in the header and outlines of everything else.

Chatroomname = the name of the chatroom. Can be the name of the person the player character is chatting with, can be a title for the chatroom, can even just be "chatroom" if you don't want to come up with something.

Chatroomnamecolor = font color for the title of the chatroom.

Textbordercolor = color for the border of the message field and the "options" field which corresponds with where one would be typing outgoing messages.

Textbackgroundcolor = color for the background of the message and options fields.

Chattext = body of the chat. Messages between characters in the chatroom.

Chatoptions = options worded as responses to the messages above, though not all options necessarily have to be in this field. They could be in the body of the chat, or even outside the chat window depending on the context.

Sendbuttoncolor = color of the send button.

Personal tools