Difference between revisions of "Template:HelpSection"
Jump to navigation
Jump to search
(Include maintenance warning on all help pages) |
(|link) |
||
Line 5: | Line 5: | ||
<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>}}<br/> |
− | </noinclude><includeonly>{{WikiSpooks:Site Status}}{{#if: {{{image|}}} | [[image:{{{image|}}}|100px|right]] | [[image:Torchlight_help_icon.png|100px|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:02, 27 June 2014
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}}
Optional Template:Link parameter to add a link to the image.