Difference between revisions of "Template:Message"

From Mario Fan Games Galaxy Wiki
m
Line 1: Line 1:
 
{| align=center width=60% id=toc style='border-collapse: collapse; border: 1px solid #aaa;'
 
{| align=center width=60% id=toc style='border-collapse: collapse; border: 1px solid #aaa;'
 
| style='background-color: {{{colour}}}; width: 10px;' |
 
| style='background-color: {{{colour}}}; width: 10px;' |
| align=left valign="middle" style='width: 42px;'| [[{{{image|File:Standardwikimessagebox.png}}}]]
+
| align=left valign="middle" style='width: 42px; background-color:#FFFFFF;'| [[{{{image|File:Standardwikimessagebox.png}}}]]
| align=center style='padding: 1px; font-size: 90%;' | '''{{{title}}}'''
+
| align=center style='padding: 1px; font-size: 90%; color:#000000; background-color:#FFFFFF;' | '''{{{title}}}'''
 
{{{description}}}
 
{{{description}}}
 
|}<includeonly>{{{category}}}</includeonly><noinclude>[[Category:Messages]]MESSAGE TEMPLATE
 
|}<includeonly>{{{category}}}</includeonly><noinclude>[[Category:Messages]]MESSAGE TEMPLATE

Revision as of 19:47, 3 January 2010

 Standardwikimessagebox.png {{{title}}}

{{{description}}}

MESSAGE TEMPLATE

{{Message
|colour=
|image=
|title=
|description=
|category=
}}

where

Colour

is a hex code, e.g. #FF0000 or #4730FA

Image

is an image uploaded on this wiki. e.g. [[File:Hotdog.png]]

Title

is the title, i.e. the bit in bold

Description

is the description, i.e. the bit not in bold

Category

is the category that each page using this template will be stored in, e.g. [[Category:Ducks on wheels]]. In theory you can put in as many categories as you like.

You'll also have to add a "<includeonly>[[Category:Messages]]</includeonly>" to categorise the template.

this is for sysop benefits and is the underlying structure of message templates. Normal users should just use the templates found in Category:Messages (apart from this one).