Vorlage:Data template

Aus Terraria Wiki
Zur Navigation springen Zur Suche springen
Diese Vorlage ist synchronisiert-lokalisiert, d. h. sie ist mit der Version des englischen Terraria Wikis identisch. Änderungen an dieser Vorlage sollten zunächst dort vorgenommen werden.
Siehe Vorlage:Data template/l10n für die Lokalisierung dieser Vorlage.
Template-info.svg Dokumentation Die folgende Dokumentation stammt von der Seite Vorlage:Data template/Dokumentation. (bearbeiten | Versionsgeschichte)
Siehe auch die englische Vorlagenseite: Template:Data template. Sie enthält möglicherweise umfassendere oder aktuellere Informationen.

This template is used on data templates to provide a very basic, standardized documentation of their purpose. It also automatically categorizes the template accordingly.

This aims at addressing the common misunderstanding of especially newer editors considering a page with no visible output unnecessary and unused.

Usage

{{ formatting subpage | <alteration of automatic doc text> }}

The template will automatically detect the template it is used on and display a predefined documentation that is stored in the localization database under the key named after the template page's root page name (the base subpage level). For instance, {{data template}} on Template:Achievement/db will try to display the text with the l10n key of achievement. Use the first unnamed parameter to override this behavior and force an l10n key that the template should use.

For unregistered l10n keys (regardless of whether passed via parameter or root page name), the template will display a vague default text. It is preferable to define a documentation for every template that it is used on, because this default documentation is not very helpful.

Note that every documentation is preceded by the following sentence: "Diese Vorlage ist eine Daten-Vorlage."

See also