Template:LocTitle

From Dune: Awakening Community Wiki
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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Page Title1

The English title of the target page.

Page namerequired
Language Code2

Language code of the translated subpage to look for. Defaults to language of current page or subpage.

Example
de
Stringoptional