Template:HelpSection

From Wikispooks
Revision as of 03:17, 30 September 2014 by Robin (talk | contribs) (Call to SMWDefaultMarkup)
Jump to navigation Jump to search

This started as just displaying an icon at the top of help sections, but is evolving into a semantic template.
Currently this does 4 things:

  1. Makes an 100px icon on the right. The parameters is 'image' to chance to vary the icon from the default help icon.
  2. Includes WikiSpooks:Site Status so a warning appears if the site is undergoing maintenance.
  3. Sets Has objectClass2="WikispooksPage", for display of changes on the main page
  4. Calls Template:SMWDefaultMarkup to sef default SMW properties such as page size, name etc.


Usage:

{{HelpSection}} or {{HelpSection|image=my_help_image.jpg}} or {{HelpSection|image=my_help_image.jpg|link=my_link_page}}