enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Module:Yesno - Wikipedia

    en.wikipedia.org/wiki/Module:Yesno

    While Lua allows the true and false boolean values, wikicode templates can only express boolean values through strings such as "yes", "no", etc. This module processes these kinds of strings and turns them into boolean input for Lua to process. It also returns nil values as nil, to allow for distinctions between nil and false. The module also ...

  3. Help:Lua debugging - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_debugging

    Running your code through an IDE is helpful for its text highlighting features, which can help you quickly spot syntax errors. Any IDE with the ability to install a Lua text highlighting plugin should work. This could be as simple as Notepad++ (with Lua selected from the language menu) or as full-featured as Visual Studio Code.

  4. Wikipedia:Comparable Lua functions to wikitext - Wikipedia

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

    Unlike in wikicode, Lua does not use functions like #ifexpr and #expr. Add the Lua operators and functions straight into your module. Add the Lua operators and functions straight into your module. See mw:Help:Calculation for details on how #expr and mw . ext .

  5. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    This text calls the Lua script itself, which is housed in the Module: namespace. The effect of this call is to send the information within the #invoke block to the Lua module, and to replace everything within the brackets with a piece of text that it sends back in return.

  6. Wikipedia talk:Lua/Archive 7 - Wikipedia

    en.wikipedia.org/wiki/Wikipedia_talk:Lua/Archive_7

    Demo lines 2 and 3 by Johnuniq above show this effect. Line 4 still has the prefixed space, because by the addition of a character (|), the prefixed space has become an internal space and so is not affected by trimming. {} shows spaces with parameter 1 only because that is the only parameter not #if-ed in code.

  7. Wikipedia talk:Lua style guide - Wikipedia

    en.wikipedia.org/wiki/Wikipedia_talk:Lua_style_guide

    This becomes a problem when you have 6 tabs or 24 spaces, what could be small on a notepad gets exploded on wikipedia. While yes I do use tabs outside wiki spaces are prefered on wiki, unless the css for lua code is changed kind of like how a .css pages on wiki are treated with a line number and proper tabing, I would say spacing is prefered..

  8. Module:Citation/CS1 - Wikipedia

    en.wikipedia.org/wiki/Module:Citation/CS1

    This Lua module is used on approximately 5,990,000 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. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.

  9. Module:Adjacent stations - Wikipedia

    en.wikipedia.org/wiki/Module:Adjacent_stations

    "line title" is the text displayed in the middle of each row indicating the line; "left terminus" is the default station name for the left side terminus, and "right terminus" is the default station name for the right side terminus. Each "color" entry is the colour of the line. Below is Module:Adjacent stations/Taiwan High Speed Rail: