Template:Game Message

From BattleMaster Wiki
Jump to navigation Jump to search

Description:

I realize that there are already two templates to simulate in-game messages on the Wiki, but neither of them look right. So I set out on a quest to create a template that does. I use a few pages from Template:message2 to deal with the colors. Please, feel free to edit if you see anything wrong, or would like to improve on it.

Code:

{{Game Message
|type=
|name=
|time=
|recipients=
|text=
|title=(Add a <br> or parentheses if necessary.)
}}

Example:

{{Game Message
|type=Roleplay
|name=John Doe
|time=just in
|recipients=everyone on the wiki (3894 recipients)
|text=John walks along the road, thinking about how much he loves pie.  "Pie is so good," he thinks to himself.  "What I wouldn't give for a slice of it right now."
|title=<br>Guardian of the Pie of WikiLand
}}

The above code will create the message below:


Roleplay from John Doe  (just in)

Message sent to everyone on the wiki (3894 recipients)
John walks along the road, thinking about how much he loves pie. "Pie is so good," he thinks to himself. "What I wouldn't give for a slice of it right now."

John Doe
Guardian of the Pie of WikiLand


Pages

Pages used by the template.