Template:PDT/doc

From Wikidata
Jump to navigation Jump to search

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
title1

The target page's title (with namespace)

Example
Help:Aliases
Page namerequired

Usage[edit]

It is used mainly in {{Ll}}.

Examples[edit]

Use Becomes
{{PDT|Help:Aliases}} Help:Aliases