Modulo:Pangsubok a kaso ti plantilia/pannakaaramid/pagipadasan
Appearance
Daytoy ket isu ti panid a pagipadasan ti modulo para iti Modulo:Pangsubok a kaso ti plantilia/pannakaaramid (dip). |
Dokumentasion ti modulo
Daytoy a modulo ket mangited ti konpigurasion a datos para iti Modulo:Pangsubok a kaso ti plantilia.
-------------------------------------------------------------------------------
-- Modulo:Pangsubok a kaso ti plantilia/pannakaaramid
-- This module holds configuration data for [[Modulo:Pangsubok a kaso ti plantilia]].
-------------------------------------------------------------------------------
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 = 'pagipadasan',
-------------------------------------------------------------------------------
-- Messages
-------------------------------------------------------------------------------
msg = {
-- The default header for test cases rendered in columns.
['columns-header'] = 'Agabay a panangiyasping',
-- The error message to use if a templaten option is missing.
-- $1 - the number of the missing template option.
['missing-template-option-error'] = "naduktalan ti maysa wenno ad-adu kadagiti pagpilian nga " ..
"agpatingga iti '$1', ngem awan ti nabirukan a pagpilian iti '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'] = "ti panagawag ti plantilia ket nasken a mangiraman iti '$1' a " ..
"mangsukat iti nagan ti plantilia",
},
-------------------------------------------------------------------------------
-- 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 = {
['Plantilia:Pangsubok a kaso'] = {},
['Plantilia:Tabla ti pangsubok a kaso'] = {
args = {_format = 'columns'}
},
['Plantilia:Ar-aray ti pangsubok a kaso'] = {
args = {_format = 'rows'}
},
['Plantilia:Nowiki a pangsubok a kaso'] = {
func = 'nowiki'
},
['Plantilia:Nowiki a demo ti plantilia'] = {
func = 'nowiki',
args = {showheader = false, showtemplate2 = false}
},
['Plantilia:Marebba a pangsubok a kaso'] = {
args = {_collapsible = true}
},
['Plantilia:Nailinia a pangsubok a kaso'] = {
args = {_format = 'inline', _showcode = true}
},
},
-------------------------------------------------------------------------------
-- End config
-------------------------------------------------------------------------------
}