Difference between revisions of "Template:notice"
m (removed excess newlines.) |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<includeonly>{|bgcolor='gold' style='border-style:solid;border-width:1px;-moz-border-radius:3px;border-radius:3px;' align='center' width='80%' | <includeonly>{|bgcolor='gold' style='border-style:solid;border-width:1px;-moz-border-radius:3px;border-radius:3px;' align='center' width='80%' | ||
|width='1'| {{{icon|[[Image:O.png]]}}} | |width='1'| {{{icon|[[Image:O.png]]}}} | ||
|textalign='right'|{{{1}}} | |textalign='right'|{{{1}}} | ||
|width='1'| | |width='1'| | ||
− | |}</includeonly> | + | |}</includeonly><noinclude> |
+ | {{documentation}} | ||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Revision as of 12:23, 2 October 2011
[edit] [ ] Template documentation
This template can be used to highlight notes, disclaimers, gotchas, and similar such things in a page. to use it, simply type {{notice|Your disclaimer text.}}, which will result in:
Your disclaimer text. |
This template has one optional Parameter, icon, if set, its contents will replace the default O-face icon. if you wish to remove the icon, set it to . if you wish to set it to a different image, just specify the image name, like your-image.png. so if you wanted to use, say Image:Resource-HamsterBall.png as the icon, you would use {{notice|Your disclaimer text.|icon=Resource-HamsterBall.png}}
Your disclaimer text. |
The above documentation is transcluded from Template:notice/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |