Difference between revisions of "Template:Message"

From Mario Fan Games Galaxy Wiki
m
(Category)
Line 24: Line 24:
 
is the description, i.e. the bit not in bold
 
is the description, i.e. the bit not in bold
 
====Category====
 
====Category====
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:Ducks on wheels]]</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.
 
You'll also have to add a <nowiki>"<includeonly>[[Category:Messages]]</includeonly>"</nowiki> to categorise the template.

Revision as of 14:10, 25 September 2009

 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).