Module:ControlArgs/doc

From Wikipedia

This is the documentation page for Module:ControlArgs

This module manage arguments for any module, which allows :

  • Assist the user settings, and even the developper of the module.
  • Read and display settings and messages in several languages.
  • options = " : docdata docmin docdef docmax docligne docavant docapres docnotice " -- for documentation
  • options = " erron noerr nobox nocat " -- without normal result
  • options = " debug notrack trackon testable en es fr " -- for debug or enforce language

normal sans args[edit]

{{#invoke:ControlArgs | normal | c = : }}

John Smith
L'auteur nil nil est mort en 1789 et son image est nil.
, initiale = S , firstname = nil , lastname = nil , title = John Smith , region = nil , rights = nil , language = nil

normal avec arguments[edit]

{{#invoke:ControlArgs | normal | c = : docdata docavant docdef | initiale= F | nom=Alain Fournier | description=Henri Alban Fournier (1886-1914), écrivain français, auteur notamment du roman Le Grand Meaulnes }}

John Smith
L'auteur nil nil est mort en 1789 et son image est nil.
, initiale = F , firstname = nil , lastname = nil , title = John Smith , region = nil , rights = nil , language = nil

langtest[edit]

{{#invoke:ControlArgs | langtest | c = : docdata docavant docdef }}


.

  • Tests in a few languages. Tests en quelques langues. Pruebas en unos pocos idiomas.  :

.

Test in english , user_lang = en , wiki_lang = fr

This documentation must be removed before recording. Remove all modes to return to normal mode.
.
Informations from: Wikidata, template or module, other, message, error.

{{ControlArgs | firstname = Arnaud
| country = France
| initiale = S
| firstname2 = Arnaud
| title = John Smith
| image = Carjat Arthur Rimbaud 1872 n2.jpg
| rights = 33
| label = John Smith
| language = french,italian,chinese
| deathyear = MDCCCJL
| region = Iowa
}}

  • User support about parameters:
    Internal Error: Module missing i18n translation entityid
    Abnormal value of the argument region = ailleurs among: (autre,chine,inde,siècle)
    Error: the value of the argument firstname is already defined. Choose only one argument and value.
    Error: the value of the argument lastname is already defined. Choose only one argument and value.
    Error: Too many unnamed arguments ( 2 ).
    Error: Too many unnamed arguments ( 3 ).
    Error: parameter region is unknown in this template. Check the name or flag this gap.
    Error: the known argument région is it the one you need ?
    Error: parameter language is unknown in this template. Check the name or flag this gap.
    Error: the known argument langue is it the one you need ?
  • Catégories : Module missing i18n translation Module with usage error Speaking french Speaking italian Speaking chinese Module with error
John Smith
L'auteur Arnaud nil est mort en MDCCCJL et son image est Carjat Arthur Rimbaud 1872 n2.jpg.
, initiale = S n= , firstname = Arnaud n= ac , lastname = nil n= ac , title = John Smith n=i=0 , region = Iowa n= a , rights = 33 n= am , language = french,italian,chinese n= ac

.

Prueba en español , user_lang = es , wiki_lang = fr

Esta documentación debe ser removido antes de grabar. Retire todos los modos para volver al modo normal.
.
Informacións de: Wikidata, modelo o módulo, otros, mensaje, error.

{{ControlArgs | apellido = Arnaud
| country = France
| inicial = S
| firstname2 = Arnaud
| titulo = John Smith
| imagen = Carjat Arthur Rimbaud 1872 n2.jpg
| rights = 33
| label = John Smith
| lengua = french,italian,chinese
| año de la muerte = MDCCCJL
| region = Iowa
}}

  • Asistencia en los parámetros del modelo en:
    err_module_miss_i18n
    Valor anormal del argumento region = ailleurs a partir de: (autre,chine,inde,siècle)
    Error: el valor del argumento firstname ya se ha definido. Elige uno sólo argumento y valor.
    Error: el valor del argumento lastname ya se ha definido. Elige uno sólo argumento y valor.
    Error: Demasiados argumentos sin nombre ( 2 ).
    Error: Demasiados argumentos sin nombre ( 3 ).
    Error: El parámetro region es desconocido en este modelo. Compruebe el nombre o marca esta brecha.
    Error: la région argumento conocido es el que necesita?
    Error: El parámetro language es desconocido en este modelo. Compruebe el nombre o marca esta brecha.
    Error: la langue argumento conocido es el que necesita?
  • Catégories : Módulo faltante traducción i18n Módulo con error del uso Habla french Habla italian Habla chinese Módulo con error
John Smith
L'auteur Arnaud nil est mort en MDCCCJL et son image est Carjat Arthur Rimbaud 1872 n2.jpg.
, initiale = S n= , firstname = Arnaud n= ac , lastname = nil n= ac , title = John Smith n=i=0 , region = Iowa n= a , rights = 33 n= am , language = french,italian,chinese n= ac

.

Test en français , user_lang = fr , wiki_lang = en

Cette documentation doit être supprimée avant d'enregistrer. Supprimez tous les modes pour revenir en mode normal.
.
Informations de : Wikidata, modèle ou module, autres, message, erreur.

{{ControlArgs | prénom = Arnaud
| pays = France
| initiale = S
| firstname2 = Arnaud
| titre = John Smith
| image = Carjat Arthur Rimbaud 1872 n2.jpg
| droits = 33
| label = John Smith
| langue = french,italian,chinese
| anneeDeces = MDCCCJL
| région = Iowa
}}

  • Assistance sur les paramètres de ce modèle :
    Erreur interne : manque de traduction pour entityid
    Valeur anormale de l'argument rights = 33 parmi : (70,50,mpf,none)
    Valeur anormale de l'argument region = Iowa parmi : (other,china,india,century)
    Erreur : La valeur de l'argument firstname est déjà définie. Choisir un seul argument et une seule valeur.
    Erreur : Trop de paramètres non nommés ( 2 ).
    Erreur : Le paramètre name est inconnu dans ce modèle. Vérifier ce nom ou signaler ce manque.
    Erreur : Le paramètre langue est inconnu dans ce modèle. Vérifier ce nom ou signaler ce manque.
    Erreur: L'argument connu language est-il celui que vous voulez ?
  • Catégories : Module manquant de traduction i18n Module avec erreur d'utilisation Parle french Parle italian Parle chinese Module avec erreur
John Smith
L'auteur Arnaud nil est mort en MDCCCJL et son image est Carjat Arthur Rimbaud 1872 n2.jpg.
, initiale = S n= , firstname = Arnaud n= ac , lastname = nil n= , title = John Smith n=i=0 , region = Iowa n= a , rights = 33 n= a , language = french,italian,chinese n= ac

tests[edit]

{{#invoke:ControlArgs | tests | c = : docdata docavant docdef }}


ControlArgs:tests:en

This documentation must be removed before recording. Remove all modes to return to normal mode.
.
Informations from: Wikidata, template or module, other, message, error.

{{Wikidata | country = France | deathyear = 1789 | label = John Smith}}

{{ControlArgs | country = France
| c = : docdata docavant docdef
| label = John Smith
| title = John Smith
| region = india
| deathyear = 1789
| initiale = S
}}

  • User support about parameters:
    Internal Error: Module missing i18n translation entityid
    Error: parameter région is unknown in this template. Check the name or flag this gap.
    Error: the known argument region is it the one you need ?
    Error: parameter nom is unknown in this template. Check the name or flag this gap.
    Error: parameter genre is unknown in this template. Check the name or flag this gap.
    Error: parameter name is unknown in this template. Check the name or flag this gap.
    Error: parameter langue is unknown in this template. Check the name or flag this gap.
    Error: the known argument language is it the one you need ?
    Error: parameter description is unknown in this template. Check the name or flag this gap.
    Error: parameter occupation is unknown in this template. Check the name or flag this gap.
  • Catégories : Module missing i18n translation Module with usage error Module with error
John Smith
L'auteur nil nil est mort en 1789 et son image est nil.
, initiale = S n= i , firstname = nil n= , lastname = nil n= , title = John Smith n= ii=2 , region = india n= am , rights = nil n= , language = nil n=

Category:Module missing i18n translationCategory:Module with usage errorCategory:Module with error

.

ControlArgs:tests:en