Difference between revisions of "Template:HelpSection"

From Wikispooks
Jump to navigation Jump to search
(100px)
(Include maintenance warning on all help pages)
Line 1: Line 1:
<noinclude>'''Used to identify help sections.'''<br/>
+
<noinclude>'''Used at the top of help sections.'''<br/>
Currently this just makes an 100px icon on the right. The parameters is 'image' to chance to vary the icon from the default help icon.<br/>
+
Currently this does two things:
 +
# Makes an 100px icon on the right. The parameters is 'image' to chance to vary the icon from the default help icon.
 +
# Includes [[WikiSpooks:Site Status]] so a warning appears if the site is undergoing maintenance.
 
<br/>
 
<br/>
 
Usage:<br/>
 
Usage:<br/>
 
:{{t|<nowiki>{{HelpSection}}</nowiki>}} or {{t|<nowiki>{{HelpSection|image=my_help_image.jpg}}</nowiki>}}
 
:{{t|<nowiki>{{HelpSection}}</nowiki>}} or {{t|<nowiki>{{HelpSection|image=my_help_image.jpg}}</nowiki>}}
</noinclude><includeonly>{{#if: {{{image|}}} | [[image:{{{image|}}}|100px|right]] | [[image:Torchlight_help_icon.png|100px|right]] }}</includeonly>
+
</noinclude><includeonly>{{WikiSpooks:Site Status}}{{#if: {{{image|}}} | [[image:{{{image|}}}|100px|right]] | [[image:Torchlight_help_icon.png|100px|right]] }}</includeonly>

Revision as of 21:25, 31 December 2013

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}}