Template:H-langs/doc: Difference between revisions

From FamilySearch Wiki
(Fix)
(Create)
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->  
{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
=== Usage ===
The {{tl|H-langs}} template creates a formatted set of links between the various languages of the Research Wiki.
 
=== Example  ===
 
*<nowiki>{{H-langs|en=Main Page|es=Página_Principal}}</nowiki>
 
{{H-langs|en=Main Page|es=Página_Principal}}
 
=== Available parameters  ===
 
As shown in the above example, the most common parameter would be the language codes followed by the page name (in that language). The languages codes may be viewed in the [http://www.iana.org/assignments/language-subtag-registry IANA registry]. If the current language code is passed as a parameter, that language will display as bold and not as a link.
 
Besides the language codes, the following parameters may be used:
 
*help: Displays the help text specified, if used.
*template: If this template was called by another template, you may include the template name and then an edit link will appear.

Revision as of 10:39, 4 May 2010