Module talk:Hexasoft-test

Page contents not supported in other languages.
From Wikipedia

Test :

Titre :
* id : 5508
* titre : Module talk:Hexasoft-test
* ns : Module_talk
* ns (int) : 829
* contentModel : wikitext

>>>>>>>>
Test :

{{#invoke:Hexasoft-test|test|a1=salut toto|a2=bla<nowiki>titi</nowiki>bla}}

/other


/test

(in french)

Documentation

Ce modèle génère une taxobox en suivant le fonctionnement des taxobox de fr:, à savoir une syntaxe libre permettant de construire le résultat à partir de « briques de base ».
Toutefois contrairement aux modèles de taxobox ce module est destiné à gérer un modèle monolitique (c'est-à-dire un seul modèle pour l'ensemble de la taxobox).
La « liberté » de construction se retrouve dans la syntaxe du module, qui permet d'agencer les éléments librement, en suivant une structure et des paramètres très similaires à leurs homologues.

Description des paramètres

Les paramètres se divisent en deux catégories :

  • les paramètres nommés (de la forme "paramètre=valeur")
  • les paramètres non nommés (de la forme "valeur")

Il y a en pratique très peu de paramètres nommés, et la plupart sont optionnels et servent à contrôler le comportement de la taxobox.

Paramètres nommés

  • règne : ce paramètre nommé indique le règne utilisé dans la taxobox. Il a le même sens que les paramètres règnes actuels. Note : sa présence en paramètre global fait qu'il n'est plus précisé ensuite dans les différentes parties de la taxobox
  • nv (ou nom vernaculaire) : optionnel. Permet de fournir un ou plusieurs noms vernaculaires. Utilisé dans certains cas de figure pour les sous-titres.

Ce sont les seuls paramètres nommés « éditoriaux ». Les autres servent à contrôler certains aspects :

  • erreurs, catégories, catégories erreurs, titre, sous-titre : ces paramètres contrôlent ce que la taxobox fait (ou ne fait pas) de certaines informations selon les cas (comme de modifier ou pas la mise en page du titre, d'inclure ou pas les catégories d'information ou de maintenance…)
  • raw, debug : utilisés uniquement pour le développement du module.

Paramètres non nommés

Les paramètres non nommés sont lus dans l'ordre où ils sont donnés. Ils sont organisés en un mot-clé (qui identifie la « brique » à définir) et une suite de paramètres (d'autres paramètres non nommés) pour cette brique. Cette séquence est répétée autant de fois que voulu pour construire le résultat.
Ces différents mot-clés reprennent les noms des modèles des taxobox :

  • début : correspond à {{m|Taxobox début}}
  • fin :
    <<<<<<<<
    L'article Uroplatus guentheri existe.
    L'article Uroplatus guentherixxx n'existe pas.
    Stats : 42817 pages sur le wiki, dont 1493 articles, avec 30 utilisateurs actifs.

    mw.text est présent.
    Table mw content:
  • incrementExpensiveFunctionCount (function): function
  • log (function): function
  • addWarning (function): function
  • getLanguage (function): function
  • getCurrentFrame (function): function
  • loadJsonData (function): function
  • logObject (function): function
  • allToString (function): function
  • executeFunction (function): function
  • loadData (function): function
  • clone (function): function
  • isSubsting (function): function
  • dumpObject (function): function
  • getContentLanguage (function): function
  • hash (table): table
    • hashValue (function): function
    • listAlgorithms (function): function
  • title (table): table
    • makeTitle (function): function
    • compare (function): function
    • equals (function): function
    • getCurrentTitle (function): function
    • new (function): function
  • uri (table): table
    • parseQueryString (function): function
    • encode (function): function
    • fullUrl (function): function
    • canonicalUrl (function): function
    • buildQueryString (function): function
    • anchorEncode (function): function
    • validate (function): function
    • localUrl (function): function
    • decode (function): function
    • new (function): function
  • text (table): table
    • listToText (function): function
    • gsplit (function): function
    • nowiki (function): function
    • encode (function): function
    • decode (function): function
    • jsonEncode (function): function
    • truncate (function): function
    • trim (function): function
    • killMarkers (function): function
    • tag (function): function
    • unstripNoWiki (function): function
    • split (function): function
    • jsonDecode (function): function
    • unstrip (function): function
    • JSON_PRETTY (number): 4
    • JSON_PRESERVE_KEYS (number): 1
    • JSON_TRY_FIXING (number): 2
  • language (table): table
    • isValidCode (function): function
    • getFallbacksFor (function): function
    • isSupportedLanguage (function): function
    • new (function): function
    • fetchLanguageNames (function): function
    • isValidBuiltInCode (function): function
    • fetchLanguageName (function): function
    • isKnownLanguageTag (function): function
    • getContentLanguage (function): function
  • message (table): table
    • numParam (function): function
    • getDefaultLanguage (function): function
    • rawParam (function): function
    • newFallbackSequence (function): function
    • newRawMessage (function): function
    • new (function): function
  • wikibase (table): table
    • renderSnak (function): function
    • sitelink (function): function
    • description (function): function
    • label (function): function
    • formatValue (function): function
    • getEntity (function): function
    • getLabelByLang (function): function
    • orderProperties (function): function
    • getLabel (function): function
    • getSitelink (function): function
    • getEntityUrl (function): function
    • getEntityIdForTitle (function): function
    • getDescriptionByLang (function): function
    • getBestStatements (function): function
    • getDescription (function): function
    • getAllStatements (function): function
    • getLabelWithLang (function): function
    • isValidEntityId (function): function
    • getEntityObject (function): function
    • resolvePropertyId (function): function
    • getEntityIdForCurrentPage (function): function
    • getBadges (function): function
    • renderSnaks (function): function
    • getPropertyOrder (function): function
    • formatValues (function): function
    • entityExists (function): function
    • getGlobalSiteId (function): function
    • getDescriptionWithLang (function): function
    • getReferencedEntityId (function): function
    • entity (table): table
      • create (function): function
      • claimRanks (table): table
    • lexeme (table): table
      • splitLexemeId (function): function
  • site (table): table
    • interwikiMap (function): function
    • siteName (string): Wikipedia
    • currentVersion (string): 1.43.0-wmf.2 (ce9d259)
    • scriptPath (string): /w
    • server (string): //test2.wikipedia.org
    • stylePath (string): /w/skins
    • stats (table): table
      • usersInGroup (function): function
      • pagesInCategory (function): function
      • pagesInNamespace (function): function
      • articles (number): 1493
      • admins (number): 94
      • edits (number): 549751
      • users (number): 19782
      • files (number): 152
      • pages (number): 42817
      • activeUsers (number): 30
    • talkNamespaces (table): table
      • 1 (table): table
      • 15 (table): table
      • 1729 (table): table
      • 711 (table): table
      • 93 (table): table
      • 9 (table): table
      • 101 (table): table
      • 5 (table): table
      • 105 (table): table
      • 107 (table): table
      • 11 (table): table
      • 3 (table): table
      • 829 (table): table
      • 7 (table): table
      • 91 (table): table
      • 103 (table): table
      • 13 (table): table
      • 471 (table): table
    • namespaces (table): table
      • 1 (table): table
      • 2 (table): table
      • 3 (table): table
      • 4 (table): table
      • 5 (table): table
      • 6 (table): table
      • 7 (table): table
      • 8 (table): table
      • 9 (table): table
      • 10 (table): table
      • 11 (table): table
      • 12 (table): table
      • 13 (table): table
      • 14 (table): table
      • 15 (table): table
      • 0 (table): table
      • 1728 (table): table
      • 1729 (table): table
      • -2 (table): table
      • 91 (table): table
      • 93 (table): table
      • 2600 (table): table
      • 101 (table): table
      • 103 (table): table
      • 105 (table): table
      • 107 (table): table
      • 90 (table): table
      • 92 (table): table
      • 828 (table): table
      • -1 (table): table
      • 829 (table): table
      • 100 (table): table
      • 102 (table): table
      • 104 (table): table
      • 470 (table): table
      • 711 (table): table
      • 710 (table): table
      • 471 (table): table
      • 106 (table): table
    • subjectNamespaces (table): table
      • 0 (table): table
      • 1728 (table): table
      • -1 (table): table
      • -2 (table): table
      • 2600 (table): table
      • 10 (table): table
      • 12 (table): table
      • 6 (table): table
      • 90 (table): table
      • 92 (table): table
      • 828 (table): table
      • 8 (table): table
      • 4 (table): table
      • 100 (table): table
      • 102 (table): table
      • 104 (table): table
      • 106 (table): table
      • 2 (table): table
      • 14 (table): table
      • 470 (table): table
      • 710 (table): table
    • contentNamespaces (table): table
      • 0 (table): table
      • 104 (table): table
      • 106 (table): table
  • ustring (table): table
    • byteoffset (function): function
    • isutf8 (function): function
    • match (function): function
    • gmatch (function): function
    • toNFKD (function): function
    • upper (function): function
    • gsub (function): function
    • format (function): function
    • lower (function): function
    • sub (function): function
    • toNFKC (function): function
    • codepoint (function): function
    • rep (function): function
    • char (function): function
    • byte (function): function
    • len (function): function
    • find (function): function
    • gcodepoint (function): function
    • toNFC (function): function
    • toNFD (function): function
    • maxPatternLength (number): 10000
    • maxStringLength (number): 2097152
  • ext (table): table
    • TitleBlacklist (table): table
      • test (function): function
    • FlaggedRevs (table): table
      • getStabilitySettings (function): function
    • ParserFunctions (table): table
      • expr (function): function
    • data (table): table
      • get (function): function
    • proofreadPage (table): table
      • newPage (function): function
      • newIndex (function): function
      • NS_INDEX (number): 106
      • NS_PAGE (number): 104
      • QualityLevel (table): table
  • html (table): table
    • create (function): function


/other


/test

(in french)

Documentation[edit]

Ce modèle génère une taxobox en suivant le fonctionnement des taxobox de fr:, à savoir une syntaxe libre permettant de construire le résultat à partir de « briques de base ».
Toutefois contrairement aux modèles de taxobox ce module est destiné à gérer un modèle monolitique (c'est-à-dire un seul modèle pour l'ensemble de la taxobox).
La « liberté » de construction se retrouve dans la syntaxe du module, qui permet d'agencer les éléments librement, en suivant une structure et des paramètres très similaires à leurs homologues.

Description des paramètres[edit]

Les paramètres se divisent en deux catégories :

  • les paramètres nommés (de la forme "paramètre=valeur")
  • les paramètres non nommés (de la forme "valeur")

Il y a en pratique très peu de paramètres nommés, et la plupart sont optionnels et servent à contrôler le comportement de la taxobox.

Paramètres nommés[edit]

  • règne : ce paramètre nommé indique le règne utilisé dans la taxobox. Il a le même sens que les paramètres règnes actuels. Note : sa présence en paramètre global fait qu'il n'est plus précisé ensuite dans les différentes parties de la taxobox
  • nv (ou nom vernaculaire) : optionnel. Permet de fournir un ou plusieurs noms vernaculaires. Utilisé dans certains cas de figure pour les sous-titres.

Ce sont les seuls paramètres nommés « éditoriaux ». Les autres servent à contrôler certains aspects :

  • erreurs, catégories, catégories erreurs, titre, sous-titre : ces paramètres contrôlent ce que la taxobox fait (ou ne fait pas) de certaines informations selon les cas (comme de modifier ou pas la mise en page du titre, d'inclure ou pas les catégories d'information ou de maintenance…)
  • raw, debug : utilisés uniquement pour le développement du module.

Paramètres non nommés[edit]

Les paramètres non nommés sont lus dans l'ordre où ils sont donnés. Ils sont organisés en un mot-clé (qui identifie la « brique » à définir) et une suite de paramètres (d'autres paramètres non nommés) pour cette brique. Cette séquence est répétée autant de fois que voulu pour construire le résultat.
Ces différents mot-clés reprennent les noms des modèles des taxobox :