Template:LocTitle
Jump to navigation
Jump to search
Usage Examples
| Page Language | Template Call | Output |
|---|---|---|
| de | {{LocTitle|Buildables}}
|
Buildables/de |
{{LocTitle|Buildables|en}}
|
Buildables | |
{{LocTitle|Buildables|fr}}
|
Buildables/fr |
TemplateData
This template determines if the translation subpage of a target page exists. It returns the subpage path (e.g. Buildables/de) if that page exists, otherwise returns the input unchanged.
Intended for building translation-compatible wikilinks manually, coupled with Template:Loc.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page Title | 1 | The English title of the target page. | Page name | required |
| Language Code | 2 | Language code of the translated subpage to look for. Defaults to language of current page or subpage.
| String | optional |