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. Please refer to the handy dandy table below to learn just how Uncyclopedia makes its site notices.

Current MediaWiki notice setup
Location Delivery template Content template Uses Notes
MediaWiki:Sitenotice (id) Template:Sitenotice Template:Sitenotice banner (current default) Template:Notice banner
MediaWiki:Anonnotice Template:Anonnotice banner

Usage

Normal usage

{{Sitenotice
|notice = We have beans for sale!
|banner = none
|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.
  • 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 set to none, will show nothing.
  • vfhalerts - set it to any string (like "yes" or "y") and it will show an alert nagging useres to vote on VFH. Set vfhalerts to none or keep empty to remove the message.