Difference between revisions of "Template:Help"

From Second Life Wiki
Jump to: navigation, search
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{multi-lang}}</noinclude><includeonly>{{#vardefine:langbase|{{{PAGENAME}}}}}{{#vardefine:lang|/en}}}}{{Help Header|noMultiLang={{{noMultiLang}}}|TVT_c={{{TVT_c}}}}}
+
<noinclude>{{multi-lang}}</noinclude><includeonly>{{#ifeq:{{{noMultiLang|}}}|*||{{Multi-lang}}}}{{Help Header|noMultiLang={{{noMultiLang|}}}|noCat={{{noCat|}}}|TVT_c={{{TVT_c|}}}}}
 
{{#vardefine:Name|{{{Name|{{PAGENAME}}}}}|}}{{
 
{{#vardefine:Name|{{{Name|{{PAGENAME}}}}}|}}{{
 
#ifeq:{{{Avatar}}}|*|[[Category:Help/Avatar{{{prefix|}}}|{{#var:Name}}]]|}}{{
 
#ifeq:{{{Avatar}}}|*|[[Category:Help/Avatar{{{prefix|}}}|{{#var:Name}}]]|}}{{
Line 13: Line 13:
 
#ifeq:{{{Wiki}}}|*|[[Category:Help/Wiki{{{prefix|}}}|{{#var:Name}}]]|}}{{
 
#ifeq:{{{Wiki}}}|*|[[Category:Help/Wiki{{{prefix|}}}|{{#var:Name}}]]|}}{{
 
#ifeq:{{{Glossary}}}|*|[[Category:Glossary{{{prefix|}}}|{{#var:Name}}]]|}}{{
 
#ifeq:{{{Glossary}}}|*|[[Category:Glossary{{{prefix|}}}|{{#var:Name}}]]|}}{{
#ifeq:{{{OldInfo}}}|*|[[Category:Articles_in_need_of_updating{{{prefix|}}}|{{#var:Name}}]]{{Help/Old_Info}}|}}{{
+
#ifeq:{{{OldInfo}}}|*|{{Help/Old_Info}}|}}</includeonly><noinclude>
#if:{{{Disclaimer|}}}|{{#ifeq:{{{Disclaimer}}}|*|{{Help/Disclaimer}}|{{Help/Disclaimer|Disclaimer={{{Disclaimer}}}}}}}|}}</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.
 
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.

Latest revision as of 17:32, 12 September 2009

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. Alternativly, an URL can be provided for the disclaimer which automatically places a link to a related entry on the KB (or elsewhere) where more reliable infos are stored. The variable OldInfo adds a warning box and registeres 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