Template:Sitenotice

From Nookipedia, the Animal Crossing wiki
Nookipedia.png Site notice
Nookipedia.png Site notice

Template documentation (view)


Emotion Surprise NH Icon.png
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
Emotion Surprise NH Icon.png
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
{{Sitenotice
| PrimaryColor      =
| SecondaryColor    =
| TertiaryColor     =
| TextColor         =

| Image     =
| ImageSize =
| ImageLink =
| Header    =
| Message   =
}}

This template is designed for use in MediaWiki:Sitenotice. It allows for the creation of a prominent message box for this interface message, with the option to customise the image and color scheme. By default, it will pull colors from the currently active skin for the wiki. The template will automatically display a more compact design for smaller screen widths.

  • PrimaryColor sets the primary display color of the notice box. Requires hue and saturation values in in HSL format.
  • SecondaryColor allows a complimentary color to be specified for the background behind the image. Requires hue and saturation values in in HSL format.
  • TertiaryColor allows a complimentary color to be specified for the background behind the text. Requires hue and saturation values in in HSL format. If this isn't specified, it will use the same values as SecondaryColor.
  • TextColor sets the display color of the text in the box. If this is not specified, it will use a darker variant of the specified PrimaryColor.
  • Image sets the image file to be displayed on the left side of the notice box. If this is not specified, the template will display the Nookipedia logo.
  • ImageSize allows a size to be specified for the image. Default is 100px.
  • ImageLink allows a link to be set for the image. Disabled by default.
  • Header sets the displayed header text for the notice box, and will appear in large letters with the Coustard font.
  • Message sets the displayed message text for the notice box.

Examples

{{Sitenotice
| PrimaryColor = 141 23
| Image     = Tom Nook NH.png
| ImageSize = 40px
| Header    = Welcome to Nookipedia!
| Message   = Thanks for joining our Wiki. Help contribute to make it the best ''Animal Crossing'' resource around!
}}
Tom Nook NH.png Welcome to Nookipedia!
Thanks for joining our Wiki. Help contribute to make it the best Animal Crossing resource around!
Tom Nook NH.png Welcome to Nookipedia!
Thanks for joining our Wiki. Help contribute to make it the best Animal Crossing resource around!