Mòdul Discussió:primers passos

De Viccionari
Jump to navigation Jump to search
Wikimedia-Collab-logo.svg

ns:829 · PAGEID: 178782 · links here · purge ↺ · section=0 ·#footer · REVISIONID: 1225857 · permanent link

MediaWiki 1.24.1 database schema.svg
mw:extension:Scribunto/Lua reference manual
→→ https://git.wikimedia.org/blob/ mediawiki / extensions/Scribunto
→→ mw:extension:Scribunto/Tim's draft roadmap Tim Starling talk
→→ mw:Extension:Scribunto/Victor's API proposal VasilievVV talk
local:special:Prefixindex/Module: local: talks · b: talks · c: talks · d: talks · d2: talks · m: talks · mw: talks · n: talks · q: talks · s: talks · t: talks · t2: talks · v: talks · voy: talks · w: talks · wikt talks · incubator talks · wmania talks · wm2016 talks · m:interwiki map

testwiki:module talk:Versuch (source) module · d:Q21850921 · b:en: module · c: module · d: module · m: module · mw: module · n:en: module · q:en: module · v:en: module · voy:en: module · w:da: module · w:de: module · w:en: module · w:eo: module · w:es: module · w:fr: module · w:he: module · w:is: module · w:it: module · w:ko: module · w:pl: module · w:pt: module · w:mi: module · w:no: module · w:rmy: module · w:ro: module · w:ru: module · w:sv: module · w:sr: module · w:tn: module · w:tr: module · w:yi: module · wm2016: module · wikt:ca: module · wikt:en: module · #kavehoyz · #lua · #mediawiki
→→ c:Module:TableTools talk · c:Module:TableTools/doc talk

simple example[modifica]

#top Plantilla:purge

main01: MW[modifica]

{{#invoke:primers passos|main01}}
genera:
 show / hide 
MW

type is: table

table#1 {

 ["addWarning"] = function#1,
 ["allToString"] = function#2,
 ["clone"] = function#3,
 ["dumpObject"] = function#4,
 ["executeFunction"] = function#5,
 ["ext"] = table#2 {
   ["ParserFunctions"] = table#3 {
     ["expr"] = function#6,
   },
   ["TitleBlacklist"] = table#4 {
     ["test"] = function#7,
   },
   ["data"] = table#5 {
     ["get"] = function#8,
   },
 },
 ["getContentLanguage"] = function#9,
 ["getCurrentFrame"] = function#10,
 ["getLanguage"] = function#11,
 ["hash"] = table#6 {
   ["hashValue"] = function#12,
   ["listAlgorithms"] = function#13,
   ["setupInterface"] = function#14,
 },
 ["html"] = table#7 {
   ["create"] = function#15,
 },
 ["incrementExpensiveFunctionCount"] = function#16,
 ["isSubsting"] = function#17,
 ["language"] = table#8 {
   ["fetchLanguageName"] = function#18,
   ["fetchLanguageNames"] = function#19,
   ["getContentLanguage"] = function#9,
   ["getFallbacksFor"] = function#20,
   ["isKnownLanguageTag"] = function#21,
   ["isSupportedLanguage"] = function#22,
   ["isValidBuiltInCode"] = function#23,
   ["isValidCode"] = function#24,
   ["new"] = function#11,
 },
 ["loadData"] = function#25,
 ["log"] = function#26,
 ["logObject"] = function#27,
 ["message"] = table#9 {
   ["getDefaultLanguage"] = function#28,
   ["new"] = function#29,
   ["newFallbackSequence"] = function#30,
   ["newRawMessage"] = function#31,
   ["numParam"] = function#32,
   ["rawParam"] = function#33,
 },
 ["site"] = table#10 {
   ["contentNamespaces"] = table#11 {
     [0] = table#12 {
       ["aliases"] = table#13 {
       },
       ["associated"] = table#14 {
         ["aliases"] = table#15 {
         },
         ["associated"] = table#12,
         ["canonicalName"] = "Talk",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 1,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "Discussió",
         ["subject"] = table#12,
         ["talk"] = table#14,
       },
       ["canonicalName"] = "",
       ["displayName"] = "(Principal)",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = false,
       ["id"] = 0,
       ["isCapitalized"] = false,
       ["isContent"] = true,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "",
       ["subject"] = table#12,
       ["talk"] = table#14,
     },
   },
   ["currentVersion"] = "1.33.0-wmf.4 (bf6a756)",
   ["interwikiMap"] = function#34,
   ["namespaces"] = table#16 {
     metatable = table#17
     table#14,
     table#18 {
       ["aliases"] = table#19 {
         "Utilisator",
         "Usuària",
       },
       ["associated"] = table#20 {
         ["aliases"] = table#21 {
           "Discussion_Utilisator",
           "Discutida_Utilisator",
           "Usuària_Discussió",
         },
         ["associated"] = table#18,
         ["canonicalName"] = "User talk",
         ["hasGenderDistinction"] = true,
         ["hasSubpages"] = true,
         ["id"] = 3,
         ["isCapitalized"] = true,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "Usuari Discussió",
         ["subject"] = table#18,
         ["talk"] = table#20,
       },
       ["canonicalName"] = "User",
       ["hasGenderDistinction"] = true,
       ["hasSubpages"] = true,
       ["id"] = 2,
       ["isCapitalized"] = true,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Usuari",
       ["subject"] = table#18,
       ["talk"] = table#20,
     },
     table#20,
     table#22 {
       ["aliases"] = table#23 {
         "Wiktionary",
       },
       ["associated"] = table#24 {
         ["aliases"] = table#25 {
         },
         ["associated"] = table#22,
         ["canonicalName"] = "Project talk",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 5,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "Viccionari Discussió",
         ["subject"] = table#22,
         ["talk"] = table#24,
       },
       ["canonicalName"] = "Project",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = true,
       ["id"] = 4,
       ["isCapitalized"] = false,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Viccionari",
       ["subject"] = table#22,
       ["talk"] = table#24,
     },
     table#24,
     table#26 {
       ["aliases"] = table#27 {
         "Image",
         "Imatge",
       },
       ["associated"] = table#28 {
         ["aliases"] = table#29 {
           "Image_talk",
           "Imatge_Discussió",
           "Discutida_Imatge",
           "Discussion_Imatge",
         },
         ["associated"] = table#26,
         ["canonicalName"] = "File talk",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 7,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "Fitxer Discussió",
         ["subject"] = table#26,
         ["talk"] = table#28,
       },
       ["canonicalName"] = "File",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = false,
       ["id"] = 6,
       ["isCapitalized"] = false,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Fitxer",
       ["subject"] = table#26,
       ["talk"] = table#28,
     },
     table#28,
     table#30 {
       ["aliases"] = table#31 {
         "Mediaòiqui",
       },
       ["associated"] = table#32 {
         ["aliases"] = table#33 {
           "Discussion_Mediaòiqui",
           "Discutida_Mediaòiqui",
         },
         ["associated"] = table#30,
         ["canonicalName"] = "MediaWiki talk",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 9,
         ["isCapitalized"] = true,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "MediaWiki Discussió",
         ["subject"] = table#30,
         ["talk"] = table#32,
       },
       ["canonicalName"] = "MediaWiki",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = true,
       ["id"] = 8,
       ["isCapitalized"] = true,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "MediaWiki",
       ["subject"] = table#30,
       ["talk"] = table#32,
     },
     table#32,
     table#34 {
       ["aliases"] = table#35 {
       },
       ["associated"] = table#36 {
         ["aliases"] = table#37 {
           "Discutida_Modèl",
         },
         ["associated"] = table#34,
         ["canonicalName"] = "Template talk",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 11,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "Plantilla Discussió",
         ["subject"] = table#34,
         ["talk"] = table#36,
       },
       ["canonicalName"] = "Template",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = true,
       ["id"] = 10,
       ["isCapitalized"] = false,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Plantilla",
       ["subject"] = table#34,
       ["talk"] = table#36,
     },
     table#36,
     table#38 {
       ["aliases"] = table#39 {
       },
       ["associated"] = table#40 {
         ["aliases"] = table#41 {
           "Discutida_Ajuda",
         },
         ["associated"] = table#38,
         ["canonicalName"] = "Help talk",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 13,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "Ajuda Discussió",
         ["subject"] = table#38,
         ["talk"] = table#40,
       },
       ["canonicalName"] = "Help",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = true,
       ["id"] = 12,
       ["isCapitalized"] = false,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Ajuda",
       ["subject"] = table#38,
       ["talk"] = table#40,
     },
     table#40,
     table#42 {
       ["aliases"] = table#43 {
       },
       ["associated"] = table#44 {
         ["aliases"] = table#45 {
           "Discutida_Categoria",
         },
         ["associated"] = table#42,
         ["canonicalName"] = "Category talk",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 15,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "Categoria Discussió",
         ["subject"] = table#42,
         ["talk"] = table#44,
       },
       ["canonicalName"] = "Category",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = false,
       ["id"] = 14,
       ["isCapitalized"] = false,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Categoria",
       ["subject"] = table#42,
       ["talk"] = table#44,
     },
     table#44,
     [-2] = table#46 {
       ["aliases"] = table#47 {
       },
       ["canonicalName"] = "Media",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = false,
       ["id"] = -2,
       ["isCapitalized"] = false,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = false,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Media",
       ["subject"] = table#46,
     },
     [-1] = table#48 {
       ["aliases"] = table#49 {
       },
       ["canonicalName"] = "Special",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = false,
       ["id"] = -1,
       ["isCapitalized"] = true,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = false,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Especial",
       ["subject"] = table#48,
     },
     [0] = table#12,
     [828] = table#50 {
       ["aliases"] = table#51 {
       },
       ["associated"] = table#52 {
         ["aliases"] = table#53 {
         },
         ["associated"] = table#50,
         ["canonicalName"] = "Module talk",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 829,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "Mòdul Discussió",
         ["subject"] = table#50,
         ["talk"] = table#52,
       },
       ["canonicalName"] = "Module",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = true,
       ["id"] = 828,
       ["isCapitalized"] = false,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Mòdul",
       ["subject"] = table#50,
       ["talk"] = table#52,
     },
     [829] = table#52,
     [2300] = table#54 {
       ["aliases"] = table#55 {
       },
       ["associated"] = table#56 {
         ["aliases"] = table#57 {
         },
         ["associated"] = table#54,
         ["canonicalName"] = "Gadget talk",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = false,
         ["id"] = 2301,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "Gadget talk",
         ["subject"] = table#54,
         ["talk"] = table#56,
       },
       ["canonicalName"] = "Gadget",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = false,
       ["id"] = 2300,
       ["isCapitalized"] = false,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Gadget",
       ["subject"] = table#54,
       ["talk"] = table#56,
     },
     [2301] = table#56,
     [2302] = table#58 {
       ["aliases"] = table#59 {
       },
       ["associated"] = table#60 {
         ["aliases"] = table#61 {
         },
         ["associated"] = table#58,
         ["canonicalName"] = "Gadget definition talk",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = false,
         ["id"] = 2303,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = false,
         ["isTalk"] = true,
         ["name"] = "Gadget definition talk",
         ["subject"] = table#58,
         ["talk"] = table#60,
       },
       ["canonicalName"] = "Gadget definition",
       ["defaultContentModel"] = "GadgetDefinition",
       ["hasGenderDistinction"] = false,
       ["hasSubpages"] = false,
       ["id"] = 2302,
       ["isCapitalized"] = false,
       ["isContent"] = false,
       ["isIncludable"] = true,
       ["isMovable"] = true,
       ["isSubject"] = true,
       ["isTalk"] = false,
       ["name"] = "Gadget definition",
       ["subject"] = table#58,
       ["talk"] = table#60,
     },
     [2303] = table#60,
   },
   ["scriptPath"] = "/w",
   ["server"] = "//ca.wiktionary.org",
   ["siteName"] = "Viccionari",
   ["stats"] = table#62 {
     ["activeUsers"] = 22,
     ["admins"] = 2,
     ["articles"] = 367996,
     ["edits"] = 1360503,
     ["files"] = 4,
     ["pages"] = 377783,
     ["pagesInCategory"] = function#35,
     ["pagesInNamespace"] = function#36,
     ["users"] = 12163,
     ["usersInGroup"] = function#37,
   },
   ["stylePath"] = "/w/skins",
   ["subjectNamespaces"] = table#63 {
     [-2] = table#46,
     [-1] = table#48,
     [0] = table#12,
     [2] = table#18,
     [4] = table#22,
     [6] = table#26,
     [8] = table#30,
     [10] = table#34,
     [12] = table#38,
     [14] = table#42,
     [828] = table#50,
     [2300] = table#54,
     [2302] = table#58,
   },
   ["talkNamespaces"] = table#64 {
     table#14,
     [3] = table#20,
     [5] = table#24,
     [7] = table#28,
     [9] = table#32,
     [11] = table#36,
     [13] = table#40,
     [15] = table#44,
     [829] = table#52,
     [2301] = table#56,
     [2303] = table#60,
   },
 },
 ["text"] = table#65 {
   ["JSON_PRESERVE_KEYS"] = 1,
   ["JSON_PRETTY"] = 4,
   ["JSON_TRY_FIXING"] = 2,
   ["decode"] = function#38,
   ["encode"] = function#39,
   ["gsplit"] = function#40,
   ["jsonDecode"] = function#41,
   ["jsonEncode"] = function#42,
   ["killMarkers"] = function#43,
   ["listToText"] = function#44,
   ["nowiki"] = function#45,
   ["split"] = function#46,
   ["tag"] = function#47,
   ["trim"] = function#48,
   ["truncate"] = function#49,
   ["unstrip"] = function#50,
   ["unstripNoWiki"] = function#51,
 },
 ["title"] = table#66 {
   ["compare"] = function#52,
   ["equals"] = function#53,
   ["getCurrentTitle"] = function#54,
   ["makeTitle"] = function#55,
   ["new"] = function#56,
 },
 ["uri"] = table#67 {
   ["anchorEncode"] = function#57,
   ["buildQueryString"] = function#58,
   ["canonicalUrl"] = function#59,
   ["decode"] = function#60,
   ["encode"] = function#61,
   ["fullUrl"] = function#62,
   ["localUrl"] = function#63,
   ["new"] = function#64,
   ["parseQueryString"] = function#65,
   ["validate"] = function#66,
 },
 ["ustring"] = table#68 {
   ["byte"] = function#67,
   ["byteoffset"] = function#68,
   ["char"] = function#69,
   ["codepoint"] = function#70,
   ["find"] = function#71,
   ["format"] = function#72,
   ["gcodepoint"] = function#73,
   ["gmatch"] = function#74,
   ["gsub"] = function#75,
   ["isutf8"] = function#76,
   ["len"] = function#77,
   ["lower"] = function#78,
   ["match"] = function#79,
   ["maxPatternLength"] = 10000,
   ["maxStringLength"] = 2097152,
   ["rep"] = function#80,
   ["sub"] = function#81,
   ["toNFC"] = function#82,
   ["toNFD"] = function#83,
   ["toNFKC"] = function#84,
   ["toNFKD"] = function#85,
   ["upper"] = function#86,
 },

}

Plantilla:done

Gangleri also aka I18n (discussió) 11:28, 28 des 2015 (CET)

main23: _G[modifica]

{{#invoke:primers passos|main23}}
genera:
 show / hide 
_G

type is: table

table#1 {

 ["_G"] = table#1,
 ["_VERSION"] = "Lua 5.1",
 ["assert"] = function#1,
 ["debug"] = table#2 {
   ["traceback"] = function#2,
 },
 ["error"] = function#3,
 ["getmetatable"] = function#4,
 ["ipairs"] = function#5,
 ["math"] = table#3 {
   ["abs"] = function#6,
   ["acos"] = function#7,
   ["asin"] = function#8,
   ["atan"] = function#9,
   ["atan2"] = function#10,
   ["ceil"] = function#11,
   ["cos"] = function#12,
   ["cosh"] = function#13,
   ["deg"] = function#14,
   ["exp"] = function#15,
   ["floor"] = function#16,
   ["fmod"] = function#17,
   ["frexp"] = function#18,
   ["huge"] = inf,
   ["ldexp"] = function#19,
   ["log"] = function#20,
   ["log10"] = function#21,
   ["max"] = function#22,
   ["min"] = function#23,
   ["mod"] = function#17,
   ["modf"] = function#24,
   ["pi"] = 3.1415926535898,
   ["pow"] = function#25,
   ["rad"] = function#26,
   ["random"] = function#27,
   ["randomseed"] = function#28,
   ["sin"] = function#29,
   ["sinh"] = function#30,
   ["sqrt"] = function#31,
   ["tan"] = function#32,
   ["tanh"] = function#33,
 },
 ["mw"] = table#4 {
   ["addWarning"] = function#34,
   ["allToString"] = function#35,
   ["clone"] = function#36,
   ["dumpObject"] = function#37,
   ["executeFunction"] = function#38,
   ["ext"] = table#5 {
     ["ParserFunctions"] = table#6 {
       ["expr"] = function#39,
     },
     ["TitleBlacklist"] = table#7 {
       ["test"] = function#40,
     },
     ["data"] = table#8 {
       ["get"] = function#41,
     },
   },
   ["getContentLanguage"] = function#42,
   ["getCurrentFrame"] = function#43,
   ["getLanguage"] = function#44,
   ["hash"] = table#9 {
     ["hashValue"] = function#45,
     ["listAlgorithms"] = function#46,
     ["setupInterface"] = function#47,
   },
   ["html"] = table#10 {
     ["create"] = function#48,
   },
   ["incrementExpensiveFunctionCount"] = function#49,
   ["isSubsting"] = function#50,
   ["language"] = table#11 {
     ["fetchLanguageName"] = function#51,
     ["fetchLanguageNames"] = function#52,
     ["getContentLanguage"] = function#42,
     ["getFallbacksFor"] = function#53,
     ["isKnownLanguageTag"] = function#54,
     ["isSupportedLanguage"] = function#55,
     ["isValidBuiltInCode"] = function#56,
     ["isValidCode"] = function#57,
     ["new"] = function#44,
   },
   ["loadData"] = function#58,
   ["log"] = function#59,
   ["logObject"] = function#60,
   ["message"] = table#12 {
     ["getDefaultLanguage"] = function#61,
     ["new"] = function#62,
     ["newFallbackSequence"] = function#63,
     ["newRawMessage"] = function#64,
     ["numParam"] = function#65,
     ["rawParam"] = function#66,
   },
   ["site"] = table#13 {
     ["contentNamespaces"] = table#14 {
       [0] = table#15 {
         ["aliases"] = table#16 {
         },
         ["associated"] = table#17 {
           ["aliases"] = table#18 {
           },
           ["associated"] = table#15,
           ["canonicalName"] = "Talk",
           ["hasGenderDistinction"] = false,
           ["hasSubpages"] = true,
           ["id"] = 1,
           ["isCapitalized"] = false,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "Discussió",
           ["subject"] = table#15,
           ["talk"] = table#17,
         },
         ["canonicalName"] = "",
         ["displayName"] = "(Principal)",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = false,
         ["id"] = 0,
         ["isCapitalized"] = false,
         ["isContent"] = true,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "",
         ["subject"] = table#15,
         ["talk"] = table#17,
       },
     },
     ["currentVersion"] = "1.33.0-wmf.4 (bf6a756)",
     ["interwikiMap"] = function#67,
     ["namespaces"] = table#19 {
       metatable = table#20
       table#17,
       table#21 {
         ["aliases"] = table#22 {
           "Utilisator",
           "Usuària",
         },
         ["associated"] = table#23 {
           ["aliases"] = table#24 {
             "Discussion_Utilisator",
             "Discutida_Utilisator",
             "Usuària_Discussió",
           },
           ["associated"] = table#21,
           ["canonicalName"] = "User talk",
           ["hasGenderDistinction"] = true,
           ["hasSubpages"] = true,
           ["id"] = 3,
           ["isCapitalized"] = true,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "Usuari Discussió",
           ["subject"] = table#21,
           ["talk"] = table#23,
         },
         ["canonicalName"] = "User",
         ["hasGenderDistinction"] = true,
         ["hasSubpages"] = true,
         ["id"] = 2,
         ["isCapitalized"] = true,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Usuari",
         ["subject"] = table#21,
         ["talk"] = table#23,
       },
       table#23,
       table#25 {
         ["aliases"] = table#26 {
           "Wiktionary",
         },
         ["associated"] = table#27 {
           ["aliases"] = table#28 {
           },
           ["associated"] = table#25,
           ["canonicalName"] = "Project talk",
           ["hasGenderDistinction"] = false,
           ["hasSubpages"] = true,
           ["id"] = 5,
           ["isCapitalized"] = false,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "Viccionari Discussió",
           ["subject"] = table#25,
           ["talk"] = table#27,
         },
         ["canonicalName"] = "Project",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 4,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Viccionari",
         ["subject"] = table#25,
         ["talk"] = table#27,
       },
       table#27,
       table#29 {
         ["aliases"] = table#30 {
           "Image",
           "Imatge",
         },
         ["associated"] = table#31 {
           ["aliases"] = table#32 {
             "Image_talk",
             "Imatge_Discussió",
             "Discutida_Imatge",
             "Discussion_Imatge",
           },
           ["associated"] = table#29,
           ["canonicalName"] = "File talk",
           ["hasGenderDistinction"] = false,
           ["hasSubpages"] = true,
           ["id"] = 7,
           ["isCapitalized"] = false,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "Fitxer Discussió",
           ["subject"] = table#29,
           ["talk"] = table#31,
         },
         ["canonicalName"] = "File",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = false,
         ["id"] = 6,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Fitxer",
         ["subject"] = table#29,
         ["talk"] = table#31,
       },
       table#31,
       table#33 {
         ["aliases"] = table#34 {
           "Mediaòiqui",
         },
         ["associated"] = table#35 {
           ["aliases"] = table#36 {
             "Discussion_Mediaòiqui",
             "Discutida_Mediaòiqui",
           },
           ["associated"] = table#33,
           ["canonicalName"] = "MediaWiki talk",
           ["hasGenderDistinction"] = false,
           ["hasSubpages"] = true,
           ["id"] = 9,
           ["isCapitalized"] = true,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "MediaWiki Discussió",
           ["subject"] = table#33,
           ["talk"] = table#35,
         },
         ["canonicalName"] = "MediaWiki",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 8,
         ["isCapitalized"] = true,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "MediaWiki",
         ["subject"] = table#33,
         ["talk"] = table#35,
       },
       table#35,
       table#37 {
         ["aliases"] = table#38 {
         },
         ["associated"] = table#39 {
           ["aliases"] = table#40 {
             "Discutida_Modèl",
           },
           ["associated"] = table#37,
           ["canonicalName"] = "Template talk",
           ["hasGenderDistinction"] = false,
           ["hasSubpages"] = true,
           ["id"] = 11,
           ["isCapitalized"] = false,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "Plantilla Discussió",
           ["subject"] = table#37,
           ["talk"] = table#39,
         },
         ["canonicalName"] = "Template",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 10,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Plantilla",
         ["subject"] = table#37,
         ["talk"] = table#39,
       },
       table#39,
       table#41 {
         ["aliases"] = table#42 {
         },
         ["associated"] = table#43 {
           ["aliases"] = table#44 {
             "Discutida_Ajuda",
           },
           ["associated"] = table#41,
           ["canonicalName"] = "Help talk",
           ["hasGenderDistinction"] = false,
           ["hasSubpages"] = true,
           ["id"] = 13,
           ["isCapitalized"] = false,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "Ajuda Discussió",
           ["subject"] = table#41,
           ["talk"] = table#43,
         },
         ["canonicalName"] = "Help",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 12,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Ajuda",
         ["subject"] = table#41,
         ["talk"] = table#43,
       },
       table#43,
       table#45 {
         ["aliases"] = table#46 {
         },
         ["associated"] = table#47 {
           ["aliases"] = table#48 {
             "Discutida_Categoria",
           },
           ["associated"] = table#45,
           ["canonicalName"] = "Category talk",
           ["hasGenderDistinction"] = false,
           ["hasSubpages"] = true,
           ["id"] = 15,
           ["isCapitalized"] = false,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "Categoria Discussió",
           ["subject"] = table#45,
           ["talk"] = table#47,
         },
         ["canonicalName"] = "Category",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = false,
         ["id"] = 14,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Categoria",
         ["subject"] = table#45,
         ["talk"] = table#47,
       },
       table#47,
       [-2] = table#49 {
         ["aliases"] = table#50 {
         },
         ["canonicalName"] = "Media",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = false,
         ["id"] = -2,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = false,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Media",
         ["subject"] = table#49,
       },
       [-1] = table#51 {
         ["aliases"] = table#52 {
         },
         ["canonicalName"] = "Special",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = false,
         ["id"] = -1,
         ["isCapitalized"] = true,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = false,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Especial",
         ["subject"] = table#51,
       },
       [0] = table#15,
       [828] = table#53 {
         ["aliases"] = table#54 {
         },
         ["associated"] = table#55 {
           ["aliases"] = table#56 {
           },
           ["associated"] = table#53,
           ["canonicalName"] = "Module talk",
           ["hasGenderDistinction"] = false,
           ["hasSubpages"] = true,
           ["id"] = 829,
           ["isCapitalized"] = false,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "Mòdul Discussió",
           ["subject"] = table#53,
           ["talk"] = table#55,
         },
         ["canonicalName"] = "Module",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = true,
         ["id"] = 828,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Mòdul",
         ["subject"] = table#53,
         ["talk"] = table#55,
       },
       [829] = table#55,
       [2300] = table#57 {
         ["aliases"] = table#58 {
         },
         ["associated"] = table#59 {
           ["aliases"] = table#60 {
           },
           ["associated"] = table#57,
           ["canonicalName"] = "Gadget talk",
           ["hasGenderDistinction"] = false,
           ["hasSubpages"] = false,
           ["id"] = 2301,
           ["isCapitalized"] = false,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "Gadget talk",
           ["subject"] = table#57,
           ["talk"] = table#59,
         },
         ["canonicalName"] = "Gadget",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = false,
         ["id"] = 2300,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Gadget",
         ["subject"] = table#57,
         ["talk"] = table#59,
       },
       [2301] = table#59,
       [2302] = table#61 {
         ["aliases"] = table#62 {
         },
         ["associated"] = table#63 {
           ["aliases"] = table#64 {
           },
           ["associated"] = table#61,
           ["canonicalName"] = "Gadget definition talk",
           ["hasGenderDistinction"] = false,
           ["hasSubpages"] = false,
           ["id"] = 2303,
           ["isCapitalized"] = false,
           ["isContent"] = false,
           ["isIncludable"] = true,
           ["isMovable"] = true,
           ["isSubject"] = false,
           ["isTalk"] = true,
           ["name"] = "Gadget definition talk",
           ["subject"] = table#61,
           ["talk"] = table#63,
         },
         ["canonicalName"] = "Gadget definition",
         ["defaultContentModel"] = "GadgetDefinition",
         ["hasGenderDistinction"] = false,
         ["hasSubpages"] = false,
         ["id"] = 2302,
         ["isCapitalized"] = false,
         ["isContent"] = false,
         ["isIncludable"] = true,
         ["isMovable"] = true,
         ["isSubject"] = true,
         ["isTalk"] = false,
         ["name"] = "Gadget definition",
         ["subject"] = table#61,
         ["talk"] = table#63,
       },
       [2303] = table#63,
     },
     ["scriptPath"] = "/w",
     ["server"] = "//ca.wiktionary.org",
     ["siteName"] = "Viccionari",
     ["stats"] = table#65 {
       ["activeUsers"] = 22,
       ["admins"] = 2,
       ["articles"] = 367996,
       ["edits"] = 1360503,
       ["files"] = 4,
       ["pages"] = 377783,
       ["pagesInCategory"] = function#68,
       ["pagesInNamespace"] = function#69,
       ["users"] = 12163,
       ["usersInGroup"] = function#70,
     },
     ["stylePath"] = "/w/skins",
     ["subjectNamespaces"] = table#66 {
       [-2] = table#49,
       [-1] = table#51,
       [0] = table#15,
       [2] = table#21,
       [4] = table#25,
       [6] = table#29,
       [8] = table#33,
       [10] = table#37,
       [12] = table#41,
       [14] = table#45,
       [828] = table#53,
       [2300] = table#57,
       [2302] = table#61,
     },
     ["talkNamespaces"] = table#67 {
       table#17,
       [3] = table#23,
       [5] = table#27,
       [7] = table#31,
       [9] = table#35,
       [11] = table#39,
       [13] = table#43,
       [15] = table#47,
       [829] = table#55,
       [2301] = table#59,
       [2303] = table#63,
     },
   },
   ["text"] = table#68 {
     ["JSON_PRESERVE_KEYS"] = 1,
     ["JSON_PRETTY"] = 4,
     ["JSON_TRY_FIXING"] = 2,
     ["decode"] = function#71,
     ["encode"] = function#72,
     ["gsplit"] = function#73,
     ["jsonDecode"] = function#74,
     ["jsonEncode"] = function#75,
     ["killMarkers"] = function#76,
     ["listToText"] = function#77,
     ["nowiki"] = function#78,
     ["split"] = function#79,
     ["tag"] = function#80,
     ["trim"] = function#81,
     ["truncate"] = function#82,
     ["unstrip"] = function#83,
     ["unstripNoWiki"] = function#84,
   },
   ["title"] = table#69 {
     ["compare"] = function#85,
     ["equals"] = function#86,
     ["getCurrentTitle"] = function#87,
     ["makeTitle"] = function#88,
     ["new"] = function#89,
   },
   ["uri"] = table#70 {
     ["anchorEncode"] = function#90,
     ["buildQueryString"] = function#91,
     ["canonicalUrl"] = function#92,
     ["decode"] = function#93,
     ["encode"] = function#94,
     ["fullUrl"] = function#95,
     ["localUrl"] = function#96,
     ["new"] = function#97,
     ["parseQueryString"] = function#98,
     ["validate"] = function#99,
   },
   ["ustring"] = table#71 {
     ["byte"] = function#100,
     ["byteoffset"] = function#101,
     ["char"] = function#102,
     ["codepoint"] = function#103,
     ["find"] = function#104,
     ["format"] = function#105,
     ["gcodepoint"] = function#106,
     ["gmatch"] = function#107,
     ["gsub"] = function#108,
     ["isutf8"] = function#109,
     ["len"] = function#110,
     ["lower"] = function#111,
     ["match"] = function#112,
     ["maxPatternLength"] = 10000,
     ["maxStringLength"] = 2097152,
     ["rep"] = function#113,
     ["sub"] = function#114,
     ["toNFC"] = function#115,
     ["toNFD"] = function#116,
     ["toNFKC"] = function#117,
     ["toNFKD"] = function#118,
     ["upper"] = function#119,
   },
 },
 ["next"] = function#120,
 ["os"] = table#72 {
   ["clock"] = function#121,
   ["date"] = function#122,
   ["difftime"] = function#123,
   ["time"] = function#124,
 },
 ["package"] = table#73 {
   ["loaded"] = table#74 {
     ["Module:TableTools"] = table#75 {
       ["affixNums"] = function#125,
       ["compressSparseArray"] = function#126,
       ["isNan"] = function#127,
       ["isPositiveInteger"] = function#128,
       ["numData"] = function#129,
       ["numKeys"] = function#130,
       ["removeDuplicates"] = function#131,
       ["shallowClone"] = function#132,
       ["size"] = function#133,
       ["sparseIpairs"] = function#134,
     },
     ["_G"] = table#1,
     ["debug"] = table#2,
     ["libraryUtil"] = table#76 {
       ["checkType"] = function#135,
       ["checkTypeForIndex"] = function#136,
       ["checkTypeForNamedArg"] = function#137,
       ["checkTypeMulti"] = function#138,
       ["makeCheckSelfFunction"] = function#139,
     },
     ["math"] = table#3,
     ["mw"] = table#4,
     ["mw.ext.ParserFunctions"] = table#6,
     ["mw.ext.TitleBlacklist"] = table#7,
     ["mw.ext.data"] = table#8,
     ["mw.hash"] = table#9,
     ["mw.html"] = table#10,
     ["mw.language"] = table#11,
     ["mw.message"] = table#12,
     ["mw.site"] = table#13,
     ["mw.text"] = table#68,
     ["mw.title"] = table#69,
     ["mw.uri"] = table#70,
     ["mw.ustring"] = table#71,
     ["os"] = table#72,
     ["package"] = table#73,
     ["string"] = table#77 {
       ["byte"] = function#100,
       ["char"] = function#140,
       ["find"] = function#141,
       ["format"] = function#105,
       ["gfind"] = function#142,
       ["gmatch"] = function#142,
       ["gsub"] = function#143,
       ["len"] = function#144,
       ["lower"] = function#145,
       ["match"] = function#146,
       ["rep"] = function#113,
       ["reverse"] = function#147,
       ["sub"] = function#148,
       ["ulower"] = function#111,
       ["upper"] = function#149,
       ["uupper"] = function#119,
     },
     ["table"] = table#78 {
       ["concat"] = function#150,
       ["foreach"] = function#151,
       ["foreachi"] = function#152,
       ["getn"] = function#153,
       ["insert"] = function#154,
       ["maxn"] = function#155,
       ["remove"] = function#156,
       ["setn"] = function#157,
       ["sort"] = function#158,
     },
   },
   ["loaders"] = table#79 {
     function#159,
     function#160,
   },
   ["preload"] = table#80 {
   },
   ["seeall"] = function#161,
 },
 ["pairs"] = function#162,
 ["pcall"] = function#163,
 ["rawequal"] = function#164,
 ["rawget"] = function#165,
 ["rawset"] = function#166,
 ["require"] = function#167,
 ["select"] = function#168,
 ["setmetatable"] = function#169,
 ["string"] = table#77,
 ["table"] = table#78,
 ["tonumber"] = function#170,
 ["tostring"] = function#171,
 ["type"] = function#172,
 ["unpack"] = function#173,
 ["xpcall"] = function#174,

}

Plantilla:done

Gangleri also aka I18n (discussió) 11:28, 28 des 2015 (CET)

més exemples[modifica]

#top Plantilla:purge

aviat[modifica]

inacabat[modifica]

#top Plantilla:purge

to be continued[modifica]

{{#invoke:module|function|args}}
generates:
{{#invoke:module|function|args}}

comments[modifica]

Best regards Gangleri also aka I18n (discussió) 11:28, 28 des 2015 (CET)
end of page #top