Difference between revisions of "Template:Help"

From Second Life Wiki
Jump to navigation Jump to search
m (+ Description field)
m (Mostly just fixing some blatant spelling errors & some styling errors.)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Help Header}}
<noinclude>{{multi-lang}}</noinclude><includeonly>{{#ifeq:{{{noMultiLang|}}}|*||{{Multi-lang}}}}{{Help Header|noMultiLang={{{noMultiLang|}}}|noCat={{{noCat|}}}|TVT_c={{{TVT_c|}}}}}
<includeonly>{{#vardefine:Name|{{{Name|{{PAGENAME}}}}}|}}{{
{{#vardefine:Name|{{{Name|{{PAGENAME}}}}}|}}{{
#ifeq:{{{Avatar}}}|*|[[Category:Help/Avatar{{{prefix|}}}|{{#var:Name}}]]|}}{{
#ifeq:{{{Avatar}}}|*|[[Category:Help/Avatar{{{prefix|}}}|{{#var:Name}}]]|}}{{
#ifeq:{{{Object}}}|*|[[Category:Help/Object{{{prefix|}}}|{{#var:Name}}]]|}}{{
#ifeq:{{{Object}}}|*|[[Category:Help/Object{{{prefix|}}}|{{#var:Name}}]]|}}{{
Line 11: Line 11:
#ifeq:{{{Misc}}}|*|[[Category:Help/Misc{{{prefix|}}}|{{#var:Name}}]]|}}{{
#ifeq:{{{Misc}}}|*|[[Category:Help/Misc{{{prefix|}}}|{{#var:Name}}]]|}}{{
#ifeq:{{{BugFixes}}}|*|[[Category:Bug Fixes{{{prefix|}}}|{{#var:Name}}]]|}}{{
#ifeq:{{{BugFixes}}}|*|[[Category:Bug Fixes{{{prefix|}}}|{{#var:Name}}]]|}}{{
#if:{{{Description|}}}|{{{Description}}}|}}
#ifeq:{{{Wiki}}}|*|[[Category:Help/Wiki{{{prefix|}}}|{{#var:Name}}]]|}}{{
</includeonly>
#ifeq:{{{Glossary}}}|*|[[Category:Glossary{{{prefix|}}}|{{#var:Name}}]]|}}{{
<noinclude>  
#ifeq:{{{OldInfo}}}|*|{{Help/Old_Info}}|}}</includeonly><noinclude>
 
This template is supposed to be used at articles related to the [[Help Portal]]. It includes [[Template:Multi-lang]] as well as the [[Template:Help Header]] and registers pages to certain help categories. Every article is automatically added to [[:Category:Help Portal]]. Critical articles can use a disclaimer to ensure that users know that the provided content is Resident created and might contain mistakes or out-of-date information.
 
==Documentation==
Categories can be "switched on" be placing an asterisk (*) behind the equal (=) signs of the related category. The optional disclaimer can be switched on the same way. Alternatively, an URL can be provided for the disclaimer which automatically places a link to a related entry on the Knowledge Base (KB) (or elsewhere) where more reliable information is stored. The variable <code>OldInfo</code> adds [[Template:Help/Old Info|a warning box]] and registers a page to the [[:Category:Articles in need of updating]]. Additional boxes in the same style can be added with [[Template:Help/Box]], which uses the syntax <nowiki>{{Help/Box|Title|Text}}</nowiki>.
 
'''Min spec:'''<br>
<nowiki>{{Help}}</nowiki>
 
'''Full spec:'''<br>
<nowiki>{{Help</nowiki><br>
<nowiki>|Avatar=</nowiki><br>
<nowiki>|Object=</nowiki><br>
<nowiki>|LandSim=</nowiki><br>
<nowiki>|Viewer=</nowiki><br>
<nowiki>|Community=</nowiki><br>
<nowiki>|Communication=</nowiki><br>
<nowiki>|Multimedia=</nowiki><br>
<nowiki>|Navigation=</nowiki><br>
<nowiki>|Wiki=</nowiki><br>
<nowiki>|Glossary=</nowiki><br>
<nowiki>|Misc=</nowiki><br>
<nowiki>|BugFixes=</nowiki><br>
<nowiki>|Disclaimer=</nowiki><br>
<nowiki>|OldInfo=</nowiki><br>
<nowiki>}}</nowiki>
 
'''Template developer info''': The template also accepts the variables ''TVT_c'' and ''noMultiLang'' and sends them to [[Template:Help Header]].
 
==Dependencies==
===This Template Uses:===
* [[Template:!]]
* [[Template:!!]]
* [[Template:Help Header]]
* [[Template:Languages/Lang]]
* [[Template:Multi-lang]]
* [[Template:Help/Disclaimer]]
* [[Template:Help/Old Info]]
===This Template Is Used By===
* [[Template:TVT]]
</noinclude>
</noinclude>

Latest revision as of 13:58, 11 August 2022

This template is supposed to be used at articles related to the Help Portal. It includes Template:Multi-lang as well as the Template:Help Header and registers pages to certain help categories. Every article is automatically added to Category:Help Portal. Critical articles can use a disclaimer to ensure that users know that the provided content is Resident created and might contain mistakes or out-of-date information.

Documentation

Categories can be "switched on" be placing an asterisk (*) behind the equal (=) signs of the related category. The optional disclaimer can be switched on the same way. Alternatively, an URL can be provided for the disclaimer which automatically places a link to a related entry on the Knowledge Base (KB) (or elsewhere) where more reliable information is stored. The variable OldInfo adds a warning box and registers a page to the Category:Articles in need of updating. Additional boxes in the same style can be added with Template:Help/Box, which uses the syntax {{Help/Box|Title|Text}}.

Min spec:
{{Help}}

Full spec:
{{Help
|Avatar=
|Object=
|LandSim=
|Viewer=
|Community=
|Communication=
|Multimedia=
|Navigation=
|Wiki=
|Glossary=
|Misc=
|BugFixes=
|Disclaimer=
|OldInfo=
}}

Template developer info: The template also accepts the variables TVT_c and noMultiLang and sends them to Template:Help Header.

Dependencies

This Template Uses:

This Template Is Used By