Module:Template test case: Difference between revisions

    (allow args[1] as an alias for args.code for nowiki invocations)
    (add a header to provide proper attribution)
    Line 1: Line 1:
    -- This module provides several methods to generate test cases.
    --[[
      A module for generating test case templates.
     
      This module incorporates code from the English Wikipedia's "Testcase table"
      module,[1] written by Frietjes [2] with contributions by Mr. Stradivarius [3]
      and Jackmcbarn [4], and the English Wikipedia's "Testcase rows" module,[5]
      written by Mr. Stradivarius.
     
      The "Testcase table" and "Testcase rows" modules are released under the
      CC BY-SA 3.0 License [6] and the GFDL.[7]
     
      License: CC BY-SA 3.0 and the GFDL
      Author: Mr. Stradivarius
     
      [1] https://en.wikipedia.org/wiki/Module:Testcase_table
      [2] https://en.wikipedia.org/wiki/User:Frietjes
      [3] https://en.wikipedia.org/wiki/User:Mr._Stradivarius
      [4] https://en.wikipedia.org/wiki/User:Jackmcbarn
      [5] https://en.wikipedia.org/wiki/Module:Testcase_rows
      [6] https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License
      [7] https://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License
    ]]


    -- Load required modules
    -- Load required modules