Difference between revisions of "Template:Game Message"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | =='''Description'''== | + | =='''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. | 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:'''== | =='''Code:'''== | ||
Line 51: | Line 51: | ||
|width="100%"|<font size="+2">'''{{{type}}} from {{{name}}}'''</font> <font size="-1">''({{{time}}})''</font> | |width="100%"|<font size="+2">'''{{{type}}} from {{{name}}}'''</font> <font size="-1">''({{{time}}})''</font> | ||
<font size="-1" color="#a0c0f0">Message sent to {{{recipients}}}</font><br> | <font size="-1" color="#a0c0f0">Message sent to {{{recipients}}}</font><br> | ||
− | {{{text}}}< | + | {{{text}}} |
− | {{{name}}} {{{title}}} | + | |- |
+ | |width="100%"|<font color="#ffffff">{{{name}}}</font> <font color="#eeeeee">{{{title}}}</font> | ||
+ | |||
+ | |||
|} | |} | ||
</includeonly> | </includeonly> |
Revision as of 23:57, 11 July 2008
Contents
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 Doe Guardian of the Pie of WikiLand
|
Pages
Pages used by the template.
- Template:Message2/Letter
- Template:Message2/Roleplay
- Template:Message2/Report
- Template:Message2/Request
- Template:Message2/Orders
- Template:Message2/Important Orders
- Template:Message2/Out-of-Character
- Template:Message2/GM Announcement