Module:Template wrapper: Difference between revisions

Created page with "require('Module:No globals'); local error_msg = '<span style=\"font-size:100%\" class=\"error\"><code style=\"color:inherit; border:inherit; padding:inherit;\">|_template=</code> missing or empty</span>'; --[[--------------------------< I S _ I N _ T A B L E >-------------------------------------------------------- scan through tbl looking for value; return true if found, false else ]] local function is_in_table (tbl, value) for k, v in pairs (tbl) do..."
imported>GKFX
(Add uncopyable line break opportunities to documentation mode)
(Created page with "require('Module:No globals'); local error_msg = '<span style=\"font-size:100%\" class=\"error\"><code style=\"color:inherit; border:inherit; padding:inherit;\">|_template=</code> missing or empty</span>'; --[[--------------------------< I S _ I N _ T A B L E >-------------------------------------------------------- scan through tbl looking for value; return true if found, false else ]] local function is_in_table (tbl, value) for k, v in pairs (tbl) do...")
Line 241: Line 241:


Template entry point.  Call this function to 'display' the source for the working template.  This function added
Template entry point.  Call this function to 'display' the source for the working template.  This function added
as a result of a TfD here: Stiles.casa Wiki:Templates_for_discussion/Log/2018_April_28#Module:PassArguments
as a result of a TfD here: Wikipedia:Templates_for_discussion/Log/2018_April_28#Module:PassArguments


This function replaces a similarly named function which was used in {{cite compare}} and {{cite compare2}}
This function replaces a similarly named function which was used in {{cite compare}} and {{cite compare2}}