Template:Sitenotice/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

Template used in MediaWiki:Sitenotice, for registered users. Not to be confused with MediaWiki:Anonnotice.

Usage

Normal usage

{{Sitenotice
|notice = We have beans for sale!
|defaultbanner = y
|vfhalerts = y
}}

With custom banner

{{Sitenotice
|notice = We have beans for sale!
|banner = beans <!-- REMEMBER TO REMOVE "Template:" FROM BANNER NAME! -->
|vfhalerts = y
}}

If placed with no parameters (like {{Sitenotice}}), it will just display the banner at {{Sitenotice banner}}.

Parameters

  • notice - text which goes above the banner, if one is specified.
  • defaultbanner - set it to any string (like "yes" or "y") to show the default banner at {{Sitenotice banner}}.
  • banner - set it to the name of a banner template (like Template:Beans), but without the namespace or curly braces! So setting it to "beans" will show Template:Beans. If your template doesn't exist, it will default to the default banner at {{Sitenotice banner}}. If {{{defaultbanner}}} is already called, your custom banner won't show ¯\_(ツ)_/¯
  • vfhalerts - set it to any string (like "yes" or "y") and it will show an alert nagging useres to vote on VFH. Either delete the whole parameter or set {{{vfhalerts}}} to none to remove the message.