Module:Template test case/config: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(create a config table with wrapper templates and their default options)
 
(set showcode = true in the main module rather than here, as if people go to the trouble of passing in a nowiki invocation, it's pretty much a given that they want it to be displayed)
Line 16: Line 16:
},
},
['Template:Test case nowiki'] = {
['Template:Test case nowiki'] = {
func = 'nowiki',
func = 'nowiki'
options = {showcode = true}
}
}
}
}

Revision as of 13:55, 27 November 2014

Documentation for this module may be created at Module:Template test case/config/doc

-- This module holds configuration data for [[Module:Template test cases]].

return {

wrappers = {
	['Template:Test case'] = {
		func = 'table'
	},
	['Template:Testcase table'] = {
		func = 'table',
		options = {format = 'columns'}
	},
	['Template:Testcase rows'] = {
		func = 'table',
		options = {format = 'rows'}
	},
	['Template:Test case nowiki'] = {
		func = 'nowiki'
	}
}

}