enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Template:Str ≠ len - Wikipedia

    en.wikipedia.org/wiki/Template:Str_%E2%89%A0_len

    Not equal, "!=". It probably is a good habit to always use the numbered parameters, since you might not know beforehand exactly how the data will look that your template will feed to this meta-template.

  3. Help:Conditional expressions - Wikipedia

    en.wikipedia.org/wiki/Help:Conditional_expressions

    See also: the {{}} template. The #if function selects one of two alternatives based on the truth value of a test string. {{#if: test string | value if true | value if false}} As explained above, a string is considered true if it contains at least one non-whitespace character.

  4. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    Lua patterns deliberately lack the most complex regular expression constructs (to avoid bloating the Lua code base), where many other computer languages or libraries use a more complete set. Lua patterns are not even a subset of regular expressions, as there are also discrepancies, like Lua using the escape character % instead of \, , and ...

  5. Ternary conditional operator - Wikipedia

    en.wikipedia.org/wiki/Ternary_conditional_operator

    The detailed semantics of "the" ternary operator as well as its syntax differs significantly from language to language. A top level distinction from one language to another is whether the expressions permit side effects (as in most procedural languages) and whether the language provides short-circuit evaluation semantics, whereby only the selected expression is evaluated (most standard ...

  6. Module:TableTools - Wikipedia

    en.wikipedia.org/wiki/Module:TableTools

    This Lua module is used in system messages, and on approximately 8,600,000 pages, or roughly 14% of all pages. Changes to it can cause immediate changes to the Wikipedia user interface. 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 .

  7. Wikipedia:Lua/Requests/Archive 5 - Wikipedia

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

    This can be done in either Lua or template syntax (using the string manipulation templates). Lua will probably be a little bit more work to implement, but would certainly be easier to read. For the record, what is "{{{1}}}" above, is that meant to be "IT\ICCU\MIL\0205279" in the example? Dragons flight 16:47, 28 June 2015 (UTC) Yes.

  8. Module:String/doc - Wikipedia

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

    Boolean flag indicating that target should be understood as plain text and not as a Scribunto ustring pattern (a unicode-friendly Lua-style regular expression); defaults to true. This function returns the first index >= "start" where "target" can be found within "source". Indices are 1-based. If "target" is not found, then this function returns 0.

  9. Module:Math - Wikipedia

    en.wikipedia.org/wiki/Module:Math

    This Lua module is used on 1,620,000+ pages, ... If no arguments are specified, the number produced is greater than or equal to 0 and less than 1.