Template:Sitenotice
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.
| 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 tonone, 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. Either delete the whole parameter or set{{{vfhalerts}}}tononeto remove the message.