Difference between revisions of "Template:Message"
From LGPedia
(*sigh*) |
(Fixed categorization issues) |
||
Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
− | <pre>{{Message|image=IMAGE NAME|title=HEADLINE|message=MESSAGE|category=CATEGORY}}</pre> | + | <pre>{{Message|image=IMAGE NAME|title=HEADLINE|message=MESSAGE<includeonly>|category=CATEGORY</includeonly>}}</pre> |
IMAGE NAME is only the image name, no prefix, link syntax or other options. <code>Image</code> defaults to [[:Image:Crystal clear knotes.png]]. <code>Title</code> is optional and will not be displayed if undefined. Same goes for <code>category</code>. | IMAGE NAME is only the image name, no prefix, link syntax or other options. <code>Image</code> defaults to [[:Image:Crystal clear knotes.png]]. <code>Title</code> is optional and will not be displayed if undefined. Same goes for <code>category</code>. | ||
+ | |||
+ | Should you use this template directly on a content page to display a note, but still want to categorize the page, leave out the includeonly tags: | ||
+ | <pre>{{Message|image=IMAGE NAME|title=HEADLINE|message=MESSAGE|category=CATEGORY}}</pre> [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:33, 2 December 2007
No message defined. Please edit this page and set
message=
on Template:Message.This template was designed to provide a common basis for specialized message templates like Template:Authoritative and Template:Cleanup.
Usage
{{Message|image=IMAGE NAME|title=HEADLINE|message=MESSAGE<includeonly>|category=CATEGORY</includeonly>}}
IMAGE NAME is only the image name, no prefix, link syntax or other options. Image
defaults to Image:Crystal clear knotes.png. Title
is optional and will not be displayed if undefined. Same goes for category
.
Should you use this template directly on a content page to display a note, but still want to categorize the page, leave out the includeonly tags:
{{Message|image=IMAGE NAME|title=HEADLINE|message=MESSAGE|category=CATEGORY}}