Search results
Appearance
The page "Module:Example of lua debugging/testcases" does not exist. You can request that it be created, but consider checking the search results below to see whether the topic is already covered.
- Module:RadioGatun32/doc (section Examples)talk:RadioGatun32/testcases, and verify that one sees "All RadioGatun[32] test vectors pass". One can rerun the test by going to Module:RadioGatun32/testcases, clicking...4 KB (434 words) - 18:17, 15 September 2022
- Module:Dump/doc (section Dump of a Wikidata entity)is close to valid Lua source. When working with Wikidata, it can be useful to examine a table representing an entity. For example, Southern African Large...8 KB (1,027 words) - 21:10, 29 August 2024
- Example/testcases', 'Template:Example/testcases', 'testcasesTitle') self:assertEnvTitleEquals('Talk:Example/testcases', 'Example', 'testcasesTitle')...31 KB (3,052 words) - 07:31, 28 February 2024
- tests for other Lua modules. To test a module, you must create a separate test module, usually located at Module:Module name/testcases. The module is tested...11 KB (1,233 words) - 17:10, 13 May 2025
- is 'foobar' (example needed) Whitespace is trimmed, The module is aimed at template code usage. (The editor does not have to apply Lua patterns like...13 KB (591 words) - 10:20, 7 August 2023
- Lua source. -- The main purpose is to allow easy inspection of Wikidata items. -- Preview the following in a sandbox to see entity Q833639 as a Lua table:...14 KB (2,091 words) - 07:35, 7 June 2021
- Module:Val/units/doc (section Examples)you may notice when editing Val/units that it consists of two Lua string assignments, and Lua comments. Be careful. Questions or requests related to Val...24 KB (3,635 words) - 16:59, 5 May 2025
- Module:Escape/doc (section Examples)test {\{ test, \test, \{,test\ \ \ {\ Note: The '%' char is a special in Lua, so use '%%' if that is the desired replacement. Otherwise, just a single...10 KB (758 words) - 08:11, 22 April 2025
- details below.) Arguments can be passed in directly from another Lua module or from the debug console. Most features can be customized. First, you need to...20 KB (1,915 words) - 22:01, 9 May 2025
- (defaults to ", ") -- @example concatWithKeys({a = 1, b = 2, c = 3}, ' => ', ', ') => "a => 1, b => 2, c => 3" -- function DebugHelper.concatWithKeys(table...23 KB (2,498 words) - 01:11, 20 August 2023
- (defaults to ", ") -- @example concatWithKeys({a = 1, b = 2, c = 3}, ' => ', ', ') => "a => 1, b => 2, c => 3" -- function DebugHelper.concatWithKeys(table...20 KB (2,157 words) - 10:07, 21 October 2022
- --> |_alias-map=1:title, 2:author, 3:language This example uses positional parameters and sets |_debug=yes to show that the {{citation}} template is correctly...15 KB (1,341 words) - 06:45, 4 February 2025
- Module:Engvar/doc (section List of English varieties)Category:Articles using an unknown Template:Engvar option ISO 3166-1 alpha-2 -- The 2-letter country code {{#invoke:Engvar|explain|...}} - debugging...728 bytes (332 words) - 21:14, 29 August 2024
- Module:Params/doc (section value_of)2025 Testcases · Examples · Sandbox The {{#invoke:params}} module is designed to be adopted by those templates that want to have a deep control of their...179 KB (14,403 words) - 02:28, 30 May 2025
- Module:Category series navigation (category Lua-based templates)= '' local testcasecolon = '' local testcases = string.match(currtitle.subpageText, '^testcases') if testcases then testcasecolon = ':' end local navborder...83 KB (11,587 words) - 11:50, 4 May 2025
- year/month/day. Alternatively, a full date can be entered in a variety of formats. For example: {{age in years and months|year1=2001|month1=1|day1=10|year2=2...14 KB (961 words) - 22:51, 22 March 2025
- are in the comments of that file. For debugging, add parameter |debug=true, e.g. {{#invoke:Science redirect|R|to scientific name|debug=true}} produces: {{Redirect...2 KB (970 words) - 16:16, 13 September 2024
- for example in testing and debugging. They are not part of the functioning of the automated taxobox system. Returns the maximum number of levels of a taxonomic...12 KB (1,409 words) - 06:34, 16 May 2025
- Module:Category series navigation/sandbox (category Lua-based templates)= '' local testcasecolon = '' local testcases = string.match(currtitle.subpageText, '^testcases') if testcases then testcasecolon = ':' end local navborder...83 KB (11,587 words) - 11:41, 4 May 2025
- Module:Category series navigation/doc (category Lua-based templates)using {{Category pair}} instead of |cat= To test the output of the template on a particular category name, use the |testcase= parameter, and |testcasegap=...302 bytes (1,287 words) - 12:52, 1 November 2023
- Example/testcases', 'Template:Example/testcases', 'testcasesTitle') self:assertEnvTitleEquals('Talk:Example/testcases', 'Example', 'testcasesTitle')
- --> |_alias-map=1:title, 2:author, 3:language This example uses positional parameters and sets |_debug=yes to show that the {{citation}} template is correctly