Difference between revisions of "Template:Message"

From Mario Fan Games Galaxy Wiki
Line 30: Line 30:
 
is the category that each page using this template will be stored in, e.g. <nowiki>[[Category:Messages]]</nowiki>. In theory you can put in as many categories as you like.
 
is the category that each page using this template will be stored in, e.g. <nowiki>[[Category:Messages]]</nowiki>. In theory you can put in as many categories as you like.
  
 +
You'll also have to add a <nowiki>"<includeonly>[[Category:Messages]]</includeonly>"</nowiki> 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).
 
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).
 
</noinclude>
 
</noinclude>

Revision as of 11:04, 24 September 2009

[[{{{image}}}]] {{{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:Messages]]. 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).