Template:Message: Difference between revisions

From LGPedia
Jump to navigationJump to search
Shiori (talk | contribs)
mNo edit summary
uZUbysMwqxDngYBoj
Line 1: Line 1:
{| style="width: 95%; margin: 1em 1em 1em 1em; border: 1px solid #CECECE; background-color: #FBFBFB; padding: 0.3em 0.3em 0.3em 0.3em;"
More posts of this quatliy. Not the usual c***, please
|- valign="top"
|style="margin-right: 0.8em;"|[[Image:{{{image|Crystal clear knotes.png}}}|64px]]
|<div style="text-align: center; font-size: large; letter-spacing: 0.05em; margin-right: 54px; display: {{#if: {{{title|}}}|block|none}};">{{{title}}}</div>{{{message|No message defined. Please edit this page and  [{{fullurl:{{FULLPAGENAME}}|action=edit}} set <code>message=</code> on Template:Message].}}}
|}{{#if: {{{category|}}}|<includeonly>[[Category:{{{category}}}]]</includeonly>}}<noinclude>
This template was designed to provide a common basis for specialized message templates like [[Template:Authoritative]] and [[Template:Cleanup]].
 
 
==Usage==
<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>.
 
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|{{PAGENAME}}]]</noinclude>

Revision as of 11:29, 4 June 2011

More posts of this quatliy. Not the usual c***, please