2,175
edits
(Fix example) |
(Formatting) |
||
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. | The {{tl|H-langs}} template creates a formatted set of links between the various languages of the Research Wiki. | ||
== Example == | === Example === | ||
*<nowiki>{{H-langs|en=Main Page|es=Página_Principal}}</nowiki> | *<nowiki>{{H-langs|en=Main Page|es=Página_Principal}}</nowiki> | ||
{{H-langs|en=Main Page|es=Página_Principal}} | {{H-langs|en=Main Page|es=Página_Principal}} | ||
== Available parameters == | === 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]. Besides the language codes, the following parameters may be used: | 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, | ||
*help: Displays the help text specified, if used. | |||
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. | *template: If this template was called by another template, you may include the template name and then an edit link will appear. |
edits