Difference between revisions of "Template:Message"
From Mario Fan Games Galaxy Wiki
(Lets see if I can streamline this a bit more) |
|||
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: | + | | style='background-color: {{{colour}}}; width: 10px;' | |
− | | align=center style='width: 32px;' |[[{{{ | + | | align=center style='width: 32px;' |[[{{{image}}}]] |
− | | align=center style='padding: 1px; font-size: 100%;' | '''{{{ | + | | align=center style='padding: 1px; font-size: 100%;' | '''{{{title}}}''' |
− | {{{ | + | {{{description}}} |
|} | |} | ||
− | <includeonly>{{{ | + | <includeonly>{{{category}}}</includeonly> |
− | <noinclude>[[Category:Messages]]</noinclude> | + | <noinclude>[[Category:Messages]] |
+ | MESSAGE TEMPLATE | ||
+ | |||
+ | <pre>{{Message | ||
+ | |colour= | ||
+ | |image= | ||
+ | |title= | ||
+ | |description= | ||
+ | |category= | ||
+ | }} | ||
+ | </pre> | ||
+ | where | ||
+ | __NOTOC__ | ||
+ | ====Colour==== | ||
+ | is a hex code, e.g. #FF0000 or #4730FA | ||
+ | ====Image==== | ||
+ | is an image uploaded on this wiki. e.g. <nowiki>[[File:Hotdog.png]]</nowiki> | ||
+ | ====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. <nowiki>[[Category:Messages]]</nowiki>. In theory you can put in as many categories as you like. | ||
+ | |||
+ | |||
+ | 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> |
Revision as of 10:55, 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.
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).