Template:PDT/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:PDT. It contains usage information, categories, and other content that is not part of the original template page. |
Purpose
[edit]This template purposed to using from other link templates to display translated name for target page. It uses the special item with pre-defined name "Translations:<target_fullpagename>/Page display title/<langcode>", which checks if there is a translated version of a pagename in the user's language, and links to it if there is one, and links to the English version if there isn't.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | 1 | The target page's title (with namespace)
| Page name | required |
Usage
[edit]It is used mainly in {{Ll}}
.
Examples
[edit]Use | Becomes |
---|---|
{{PDT|Help:Aliases}}
|
Help:Aliases |