enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Module:CountryData/doc - Wikipedia

    en.wikipedia.org/wiki/Module:CountryData/doc

    The first parameter is the frame of the invoking module; the second is the country or other entity to get the data of. The optional third parameter is a table of parameters to pass into the data template; this may, for example, include |age= or |mw=, which are used in the values of some sports alias parameters. E.g.,

  3. Module:CountryData - Wikipedia

    en.wikipedia.org/wiki/Module:CountryData

    Note: This is likely not quicker than wikicode-only alternatives such as {} and {}, because it transcludes the data template from Lua and converts it to a Lua table using the above function, picks the wanted parameter name, and returns it to wikicode, whereas other templates perform two simple non-Lua transclusions to get, in most cases, the ...

  4. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    The module itself must return a Lua table of values. A Lua table is expressed as a list of values separated by commas, within curly braces. When the module is called by #invoke, the function it names (the first argument after |) is looked for in that table. That function, in turn, is expected to return something that can be represented as a string.

  5. Module:CountryData/sandbox - Wikipedia

    en.wikipedia.org/wiki/Module:CountryData/sandbox

    This Lua module is used on approximately 421,000 pages, or roughly 1% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox .

  6. Wikipedia:Lua/Resources - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua/Resources

    Wikipedia:Lua style guide – standards to improve the readability of code through consistency "What do converted templates look like?" (slideshow) Help:Lua debugging – a how-to guide about debugging Lua modules; Help:Lua for beginners – basic tutorial and pointers; Wikipedia:Lua string functions – string performance considerations and limits

  7. Module:Chart - Wikipedia

    en.wikipedia.org/wiki/Module:Chart

    parameter name what it does delimiter: string to delimit multiple values when given. default to colon ( : ). normally you do not want to touch this, it's provided for the off-chance you'll want to use colon as part of one of the parameters.

  8. Wikipedia : Guide to Scribbling/Programmers' Quick start ...

    en.wikipedia.org/wiki/Wikipedia:Guide_to...

    Almost everything is a table. If it isn't a table, it's a string, a number, a boolean, a function, or a nil. Libraries are tables. string.gmatch is the "gmatch" entry in the table named by the global variable string. Arguments that you receive from MediaWiki are tables. But they're a bit special. Arrays are tables that follow a specific convention.

  9. Module:TableTools - Wikipedia

    en.wikipedia.org/wiki/Module:TableTools

    Takes a table t and returns an array containing the numbers of keys with the optional prefix prefix and the optional suffix suffix. For example, for the table {a1 = 'foo', a3 = 'bar', a6 = 'baz'} and the prefix 'a', affixNums will return {1, 3, 6}. All characters in prefix and suffix are interpreted literally.