https://en.seminaverbi.bibleget.io/w/index.php?title=Module:Template_test_case/config&feed=atom&action=historyModule:Template test case/config - Revision history2024-03-28T16:39:48ZRevision history for this page on the wikiMediaWiki 1.41.0https://en.seminaverbi.bibleget.io/w/index.php?title=Module:Template_test_case/config&diff=22161&oldid=prevJohnrdorazio: 1 revision imported2020-09-02T20:33:18Z<p>1 revision imported</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:33, September 2, 2020</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Johnrdoraziohttps://en.seminaverbi.bibleget.io/w/index.php?title=Module:Template_test_case/config&diff=22160&oldid=preven>MJL: ['Template:Collapsible 2 test case'] = { args = {_collapsible = true, _wantdiff = true} },2019-09-02T22:58:20Z<p>['Template:Collapsible 2 test case'] = { args = {_collapsible = true, _wantdiff = true} },</p>
<p><b>New page</b></p><div>-------------------------------------------------------------------------------<br />
-- Module:Template test case/config<br />
-- This module holds configuration data for [[Module:Template test case]].<br />
-------------------------------------------------------------------------------<br />
<br />
return {<br />
<br />
-------------------------------------------------------------------------------<br />
-- Options<br />
-------------------------------------------------------------------------------<br />
<br />
-- The magic word used in place of the template name when making nowiki<br />
-- invocations.<br />
templateNameMagicWord = '__TEMPLATENAME__',<br />
<br />
-- The subpage that sandboxes are typically stored on. Used when loading<br />
-- wrapper template config and when guessing the sandbox template name.<br />
sandboxSubpage = 'sandbox',<br />
<br />
-------------------------------------------------------------------------------<br />
-- Messages<br />
-------------------------------------------------------------------------------<br />
<br />
msg = {<br />
<br />
-- The default header for test cases rendered in columns.<br />
['columns-header'] = 'Side by side comparison',<br />
<br />
-- The error message to use if a templaten option is missing.<br />
-- $1 - the number of the missing template option.<br />
['missing-template-option-error'] = "one or more options ending in '$1' " ..<br />
"were detected, but no 'template$1' option was found",<br />
<br />
-- The error message to use if a nowiki invocation is used but the template<br />
-- name magic word is not found.<br />
-- $1 - the value of the template name magic word<br />
['nowiki-magic-word-error'] = "the template invocation must include '$1' in " ..<br />
"place of the template name",<br />
<br />
},<br />
<br />
-------------------------------------------------------------------------------<br />
-- Wrapper template config.<br />
-- The wrapper template config is a table with wrapper template names as keys,<br />
-- and subtables containing two fields:<br />
-- func - the function name to be used with that template. This must be a<br />
-- function exported by the main module. This is optional: the default<br />
-- value is "table".<br />
-- args - a table of default arguments to be used with that template. This is<br />
-- is optional.<br />
-------------------------------------------------------------------------------<br />
<br />
wrappers = {<br />
['Template:Test case'] = {},<br />
['Template:Testcase table'] = {<br />
args = {_format = 'columns'}<br />
},<br />
['Template:Testcase rows'] = {<br />
args = {_format = 'rows'}<br />
},<br />
['Template:Test case nowiki'] = {<br />
func = 'nowiki'<br />
},<br />
['Template:Nowiki template demo'] = {<br />
func = 'nowiki',<br />
args = {showheader = false, showtemplate2 = false}<br />
},<br />
['Template:Collapsible test case'] = {<br />
args = {_collapsible = true}<br />
},<br />
['Template:Collapsible 2 test case'] = {<br />
args = {_collapsible = true, _wantdiff = true}<br />
},<br />
['Template:Inline test case'] = {<br />
args = {_format = 'inline', _showcode = true}<br />
},<br />
},<br />
<br />
-------------------------------------------------------------------------------<br />
-- End config<br />
-------------------------------------------------------------------------------<br />
<br />
}</div>en>MJL