enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Module:Template test case - Wikipedia

    en.wikipedia.org/wiki/Module:Template_test_case

    This module provides a framework for making templates which produce a template test case.While test cases can be made manually, using Lua-based templates such as the ones provided by this module has the advantage that the template arguments only need to be input once, thus reducing the effort involved in making test cases and reducing the possibility of errors in the input.

  3. Help:Line-break handling - Wikipedia

    en.wikipedia.org/wiki/Help:Line-break_handling

    In lists of links such as inside infoboxes and navboxes, use a horizontal list (perhaps via the template {}) to format lists. For occasional cases where you need to delineate two pieces of text outside of a list, you can use the templates {{·}} or {{•}} which contain a   before the dot, thus handling some of the wrapping problems.

  4. Wikipedia talk:Lua style guide - Wikipedia

    en.wikipedia.org/wiki/Wikipedia_talk:Lua_style_guide

    I mentioned the 8/4 input because current Lua source that happens to have tabs (because it was prepared somewhere else and was pasted into the edit window) should be using 8-column tabs (an example being Module:Convert/data), while someone writing a new module in the new CodeEditor will get 4-character column tabs if they press the Tab key. A ...

  5. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    Lua patterns are used to define, find and handle a pattern in a string. It can do the common search and replace action in a text, but it has more options that doing plain text only. For example, in one go it can change the errors 'New yorker', 'New-Yorker', and 'NewYorker' into 'New Yorker'.

  6. Template:Wrap at/doc - Wikipedia

    en.wikipedia.org/wiki/Template:Wrap_at/doc

    If this template is wrapped with the {{nowrap}} template, or is wrapped with a parent HTML object with {{{1}}} defined, the output will not be broken into lines; it will appear as one continuous space-separated string of text. Note that no space-replacement is performed; non-breaking spaces and similar are respected, and reproduced in the output.

  7. Help:Lua debugging - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_debugging

    Even the addition of an extra if-statement for every Lua variable has little drag on speed, compared to slowing a template by perhaps 50% if adding similar if-expressions inside a markup template. Feel free to have many sections of debug-display added into a Lua module, or add several parameter validation tests as extra if-statements to check ...

  8. Wikipedia:Lua - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua

    The module is just a container for the functions, and doesn't do anything by itself. So there are two reasons that we need to input a function name: we can't run a module by itself, and without specifying a function name, Lua will not know which function it is we want to run. The simplest way to run a module from a wiki page is like this:

  9. Format (Common Lisp) - Wikipedia

    en.wikipedia.org/wiki/Format_(Common_Lisp)

    Format is a function in Common Lisp that can produce formatted text using a format string similar to the print format string.It provides more functionality than print, allowing the user to output numbers in various formats (including, for instance: hex, binary, octal, roman numerals, and English), apply certain format specifiers only under certain conditions, iterate over data structures ...