Difference between revisions of "Template:notice/doc"

(Created page with "This template can be used to highlight notes, disclaimers, gotchas, and similar such things in a page. to use it, simply type <tt><nowiki>{{notice|Your disclaimer text.}}</nowiki...")
 
 
Line 3: Line 3:
 
{{notice|Your disclaimer text.}}
 
{{notice|Your disclaimer text.}}
  
This template has one optional Parameter, <tt>icon</tt>, if set, its contents will replace the default O-face icon. if you wish to remove the icon, set it to <tt>&amp;nbsp;</tt>. if you wish to set it to a different image, remember to refer to it in the wiki style <tt><nowiki>[[image:your-image.png]]</nowiki></tt>.
+
This template has one optional Parameter, <tt>icon</tt>, if set, its contents will replace the default O-face icon. if you wish to remove the icon, set it to <tt>&amp;nbsp;</tt>. if you wish to set it to a different image, just specify the image name, like <tt><nowiki>your-image.png</nowiki></tt>.
so if you wantted to use, say [[:Image:Resource-HamsterBall.png]] as the icon, you would use <tt><nowiki>{{notice|Your disclaimer text.|icon=[[Image:Resource-HamsterBall.png]]}}</nowiki></tt>
+
so if you wanted to use, say [[:Image:Resource-HamsterBall.png]] as the icon, you would use <tt><nowiki>{{notice|Your disclaimer text.|icon=Resource-HamsterBall.png}}</nowiki></tt>
  
{{notice|Your disclaimer text.|icon=[[Image:Resource-HamsterBall.png]]}}
+
{{notice|Your disclaimer text.|icon=Resource-HamsterBall.png}}

Latest revision as of 12:25, 2 October 2011

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:

O.png 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 &nbsp;. 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}}

Resource-HamsterBall.png Your disclaimer text.