Difference between revisions of "Template:HelpSection"
Jump to navigation
Jump to search
(100px) |
(Include maintenance warning on all help pages) |
||
Line 1: | Line 1: | ||
− | <noinclude>'''Used | + | <noinclude>'''Used at the top of help sections.'''<br/> |
− | Currently this | + | 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:
- 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.
Usage:
- {{HelpSection}} or {{HelpSection|image=my_help_image.jpg}}