Difference between revisions of "Template:Message"

From Mario Fan Games Galaxy Wiki
Line 1: Line 1:
 
{| class="darklink" align=center width=60% id=toc style='border-collapse: collapse; border: {{{border|1px solid #aaa}}};'
 
{| class="darklink" align=center width=60% id=toc style='border-collapse: collapse; border: {{{border|1px solid #aaa}}};'
 
 
|-
 
|-
 
| style='background-color: {{{colour|{{{color|#ddd}}}}}}; width: 10px;' |
 
| style='background-color: {{{colour|{{{color|#ddd}}}}}}; width: 10px;' |
Line 7: Line 6:
 
{{{description|{{{desc|Description text}}}}}}
 
{{{description|{{{desc|Description text}}}}}}
 
|}<includeonly>{{{category|}}}</includeonly><noinclude>
 
|}<includeonly>{{{category|}}}</includeonly><noinclude>
 
 
'' ''
 
'' ''
 
== Usage ==
 
== Usage ==
Line 29: Line 27:
 
: '''|desc''': Text under the title; in child templates, the reason for including the template (see [[Template:Deleteme]]).
 
: '''|desc''': Text under the title; in child templates, the reason for including the template (see [[Template:Deleteme]]).
 
: '''|category''': The category to sort a page into; for child templates, contain the categories within &lt;includeonly&gt; to prevent categorizing of the child template.
 
: '''|category''': The category to sort a page into; for child templates, contain the categories within &lt;includeonly&gt; to prevent categorizing of the child template.
 
 
[[Category:Messages]]</noinclude>
 
[[Category:Messages]]</noinclude>

Revision as of 16:50, 2 July 2010

Usage

This is a parent template, used to create other templates that all look like this one. If you are looking for a specific message, such as Template:Deleteme, they are contained in Category: Messages.

This template should be used directly only for basic messages and very special or individual cases.

{{Message
|color = ..
|border = ..
|image = ..
|title = ..
|desc = ..
|category = ..
}}
|color or |colour: Colored block on the left. Default: #ddd
|border: Properties of border. Default: 1px solid #aaa
|image: The image to display on the left. Default: Standardwikimessagebox.png
|title: Text in bold.
|desc: Text under the title; in child templates, the reason for including the template (see Template:Deleteme).
|category: The category to sort a page into; for child templates, contain the categories within <includeonly> to prevent categorizing of the child template.