মডিউল:Template test case/config

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
মডিউল নথি[তৈরি করুন]
-------------------------------------------------------------------------------
--                    Module:Template test case/config
-- This module holds configuration data for [[Module:Template test case]].
-------------------------------------------------------------------------------

return {

-------------------------------------------------------------------------------
-- Options
-------------------------------------------------------------------------------

-- The magic word used in place of the template name when making nowiki
-- invocations.
templateNameMagicWord = '__TEMPLATENAME__',

-- The subpage that sandboxes are typically stored on. Used when loading
-- wrapper template config and when guessing the sandbox template name.
sandboxSubpage = 'খেলাঘর',

-------------------------------------------------------------------------------
-- Messages
-------------------------------------------------------------------------------

msg = {

-- The default header for test cases rendered in columns.
['columns-header'] = 'পাশাপাশি তুলনা',

-- The error message to use if a templaten option is missing.
-- $1 - the number of the missing template option.
['missing-template-option-error'] = "'$1'-এ সমাপ্ত হওয়া এক বা একাধিক বিকল্প " ..
	"শনাক্ত হয়েছে, কিন্তু কোন 'template$1' বিকল্প পাওয়া যায়নি",

-- The error message to use if a nowiki invocation is used but the template
-- name magic word is not found.
-- $1 - the value of the template name magic word
['nowiki-magic-word-error'] = "টেমপ্লেটের নামের পরিবর্তে টেমপ্লেট আহ্বানে অবশ্যই '$1' " ..
	"অন্তর্ভুক্ত থাকতে হবে",

},

-------------------------------------------------------------------------------
-- Wrapper template config.
-- The wrapper template config is a table with wrapper template names as keys,
-- and subtables containing two fields:
--   func - the function name to be used with that template. This must be a
--       function exported by the main module. This is optional: the default
--       value is "table".
--   args - a table of default arguments to be used with that template. This is
--       is optional.
-------------------------------------------------------------------------------

wrappers = {
	['টেমপ্লেট:Test case'] = {},
	['টেমপ্লেট:পরীক্ষা পাতার ছক'] = {
		args = {_format = 'columns'}
	},
	['টেমপ্লেট:Testcase rows'] = {
		args = {_format = 'rows'}
	},
	['টেমপ্লেট:Test case nowiki'] = {
		func = 'nowiki'
	},
	['টেমপ্লেট:Nowiki template demo'] = {
		func = 'nowiki',
		args = {showheader = false, showtemplate2 = false}
	},
	['টেমপ্লেট:Collapsible test case'] = {
		args = {_collapsible = true}
	},
	['টেমপ্লেট:Collapsible 2 test case'] = {
		args = {_collapsible = true, _wantdiff = true}
	},
	['টেমপ্লেট:Inline test case'] = {
		args = {_format = 'inline', _showcode = true}
	},
},

-------------------------------------------------------------------------------
-- End config
-------------------------------------------------------------------------------

}