Template:Localized Wikipedia page/doc
Appearance
| This is a documentation subpage for Template:Localized Wikipedia page. It contains usage information, categories, and other content that is not part of the original template page. |
| Uses Lua: |
Usage
[edit]Gives a link target to a Wikipedia article in another language
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Existing Wikipedia page title | 1 title | The page name which you know existing in some Wikipedia language.
| String | required |
| Target language | to 2 | Language code of Wikipedia you want to link to equivalent article. Defaults to {{PAGELANGUAGE}}
| String | optional |
| Source language | from 3 | Language code of Wikipedia edition where the provided page name exists. Defaults to `en` (i.e. English Wikipedia).
| String | optional |
Examples
[edit][[{{lwp|Rosa Parks}}]] → en:Rosa Parks
[[{{lwp|Germany|to=de}}]] or [[{{lwp|Germany|de}}]] → de:Deutschland
[[{{lwp|Deutschland|from=de}}]] or [[{{lwp|Deutschland||de}}]] → en:Germany
[[{{lwp|Deutschland|to=it|from=de}}]] or [[{{lwp|Deutschland|it|de}}]] → it:Germania