Difference between revisions of "Template:Message"
From Mario Fan Games Galaxy Wiki
Line 5: | Line 5: | ||
| class="messageBody" align=center style="padding: 1px; font-size: 90%;" | '''{{{title|Title text}}}''' | | class="messageBody" align=center style="padding: 1px; font-size: 90%;" | '''{{{title|Title text}}}''' | ||
{{{description|{{{desc|Description text}}}}}} | {{{description|{{{desc|Description text}}}}}} | ||
− | |} | + | |}<noinclude> |
'' '' | '' '' | ||
== Usage == | == Usage == | ||
Line 27: | Line 27: | ||
: '''|title''': Text in bold. | : '''|title''': Text in bold. | ||
: '''|desc''': Text under the title, e.g. the reason for including the template (see [[Template:Deleteme]]). | : '''|desc''': Text under the title, e.g. the reason for including the template (see [[Template:Deleteme]]). | ||
− | : '''|category''', '''|cat''': The category / categories to sort a page into. | + | : '''|category''', '''|cat''': The category / categories to sort a page into. In a child template, add another few <includeonly> tags. |
[[Category:Messages]]</noinclude> | [[Category:Messages]]</noinclude> | ||
+ | |||
+ | <includeonly>{{{category|{{{cat|}}}}}}</includeonly> |
Revision as of 05:40, 2 January 2011
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, |colour, |color1, |colour1, |c1, : Border and left block. Default: #248
- |color2, |colour2, |c2: Background color. Default: #125
- |color3, |colour3, |c3, |border: Border. Default: Same as c1
- |image, |img: The image to display on the left, sans brackets.
- |title: Text in bold.
- |desc: Text under the title, e.g. the reason for including the template (see Template:Deleteme).
- |category, |cat: The category / categories to sort a page into. In a child template, add another few <includeonly> tags.