Modèle:Translatable template

De Wiki Electrolab
Révision datée du 1 mai 2023 à 14:14 par Electrolab (discussion | contributions) (Page créée avec « <includeonly>{{#invoke:Template translation{{{sandbox|}}}|renderTranslatedTemplate|uselang={{{uselang|}}}|tntns={{{tntns|}}}|template={{#if:{{{noshift|}}}|{{{template}}}|{{{1}}}}}|noshift={{{noshift|}}}}}</includeonly><noinclude>{{/doc}}</noinclude> »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Template documentation[view][edit][history][purge]
This documentation is transcluded from Modèle:Translatable template/doc. Changes can be proposed in the talk page.

{{Translatable template}} is a heavily used template which allows us to do two things. 1. Show a localized version of a template if available 2. Have 1 overhead template that can be used by DPL to display information from various templates into 1 table.

TemplateData

Traduit un modèle.

Paramètres du modèle

ParamètreDescriptionTypeÉtat
Nom du modèle1

Nom du modèle à traduire.

Modèleobligatoire
Langueuselang

Langue dans laquelle le modèle sera traduit.

Par défaut
langue de la page actuelle
Chaînefacultatif
tntnstntns

Specify another namespace from which the translatable pagename will be transcluded, instead of referencing the page name from the default :Template: namespace.

Inconnufacultatif
templatetemplate

Name of template to find translated version of. When 'noshift=1' is also present, this parameter will be used instead of $1 to lookup the template in the user's selected language.

Nom de pagefacultatif
noshiftnoshift

Disable default behavior of shifting numbered parameters down by one position. 'template' must also be used if this is enabled.

Booléenfacultatif
sandboxsandbox

aucune description

Inconnufacultatif

See also

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.