Difference between revisions of "Template:Vh"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{#if:{{{2|}}}
<includeonly>{{#if:{{{2|}}}
|[[Viewerhelp:{{{1}}}{{#var:lang}}|{{{2|{{{1}}}}}}]]
|[[Viewerhelp:{{{1}}}{{#var:lang}}|{{{2|{{{1}}}}}}]]
|[[Viewerhelp:{{{1}}}|{{{1}}}]]}}<noinclude>
|[[Viewerhelp:{{{1}}}|{{{1}}}]]}}</includeonly><noinclude>
Creates a link to Viewer help articles.  Parameters:
Creates a link to Viewer help articles.  Parameters:
* 1 = Name of help article WITHOUT Viewerhelp: namespace
* 1 = Name of help article WITHOUT Viewerhelp: namespace

Revision as of 14:35, 29 September 2011

Creates a link to Viewer help articles. Parameters:

  • 1 = Name of help article WITHOUT Viewerhelp: namespace
  • 2 (optional) = Text to display, if not name of article.

IMPORTANT: If you provide only one parameter, it must be the actual name of the article you want to link to (in the target language). If you provide two parameters, then this template will expect the #lang variable to be set (in a localization template) and will use it to qualify the destination page with the corresponding locale code.

Examples:

{{vh|Contents}}

Yields:

Contents

{{vh|Contents|TOC}}

Yields:

TOC

Localized page

Template:VhTest

and

Template:VhTest