Template:Langbox/doc: Difference between revisions
Content added Content deleted
(Created page with "==Documentation== This template adds a navigation tool between different translations of a page. ===Parameters=== *{{para|1}} The language code of the language used on this p...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
: <code><nowiki>{{langbox|en}}</nowiki></code> |
: <code><nowiki>{{langbox|en}}</nowiki></code> |
||
Alternatively, you can directly name the parameter <code>|1</code> (this would be on a page in Japanese): |
|||
For a page in Hungarian: |
|||
: <code><nowiki>{{langbox| |
: <code><nowiki>{{langbox|1=ja}}</nowiki></code> |
Latest revision as of 22:51, 1 May 2020
Documentation
This template adds a navigation tool between different translations of a page.
Parameters
|1=
The language code of the language used on this page. For example, on a page written in German, parameter|1=de
.
Example of usage
For a page in English:
{{langbox|en}}
Alternatively, you can directly name the parameter |1
(this would be on a page in Japanese):
{{langbox|1=ja}}