Difference between revisions of "Template:HelpSection"

From Wikispooks
Jump to navigation Jump to search
(|link)
(Better documentation)
Line 5: Line 5:
 
<br/>
 
<br/>
 
Usage:<br/>
 
Usage:<br/>
:{{t|<nowiki>{{HelpSection}}</nowiki>}} or {{t|<nowiki>{{HelpSection|image=my_help_image.jpg}}</nowiki>}}<br/>
+
:{{t|<nowiki>{{HelpSection}}</nowiki>}} or {{t|<nowiki>{{HelpSection|image=my_help_image.jpg}}</nowiki>}} or {{t|<nowiki>{{HelpSection|image=my_help_image.jpg|link=my_link_page}}</nowiki>}}</noinclude><includeonly>{{WikiSpooks:Site Status}}{{#if: {{{image|}}} | [[image:{{{image|}}}|100px|link={{{link|}}}|right]] | [[image:Torchlight_help_icon.png|100px|link={{{link|}}}|right]] }}</includeonly>
Optional {{link}} parameter to add a link to the image.</noinclude><includeonly>{{WikiSpooks:Site Status}}{{#if: {{{image|}}} | [[image:{{{image|}}}|100px|link={{{link|}}}|right]] | [[image:Torchlight_help_icon.png|100px|link={{{link|}}}|right]] }}</includeonly>
 

Revision as of 04:03, 27 June 2014

Used at the top of help sections.
Currently this does two 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.


Usage:

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