Template:H-langs/doc: Difference between revisions
(Fix) |
(Formatting) |
||
Line 12: | Line 12: | ||
=== 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]. If the current language code is passed as a parameter, that language will display as bold and not as a link | 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: | Besides the language codes, the following parameters may be used: |
Revision as of 14:40, 4 May 2010
![]() |
This is a documentation subpage for Template:H-langs (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage[edit source]
The {{H-langs}} template creates a formatted set of links between the various languages of the Research Wiki.
Example[edit source]
- {{H-langs|en=Main Page|es=Página_Principal}}
Available parameters[edit source]
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 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.