fbpx
วิกิพีเดีย

มอดูล: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 = 'sandbox',  ------------------------------------------------------------------------------- -- Messages -------------------------------------------------------------------------------  msg = {  -- The default header for test cases rendered in columns. ['columns-header'] = 'Side by side comparison',  -- The error message to use if a templaten option is missing. -- $1 - the number of the missing template option. ['missing-template-option-error'] = "one or more options ending in '$1' " ..  "were detected, but no 'template$1' option was found",  -- 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'] = "the template invocation must include '$1' in " ..  "place of the template name",  },  ------------------------------------------------------------------------------- -- 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 = {  ['แม่แบบ:ชุดทดสอบ'] = {},  ['แม่แบบ:Testcase table'] = {  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 -------------------------------------------------------------------------------  } 

มอด, template, test, case, config, อการใช, งานมอด, สร, าง, ณอาจจะต, องการสร, างค, อการใช, งานของมอด, ลน, เข, ยนสามารถทำการทดลองได, กระบะทราย, สร, าง, ดลอก, และช, ดทดสอบ, สร, าง, ของมอด, ลน, โปรดเพ, มหมวดหม, ไปท, หน, าย, อย, หน, าย, อยของมอด, ลน, module, templa. khumuxkarichnganmxdul srang khunxaccatxngkarsrangkhumuxkarichngankhxngmxdulniphuekhiynsamarththakarthdlxngidthikrabathray srang khdlxk aelachudthdsxb srang khxngmxdulnioprdephimhmwdhmuipthihnayxy doc hnayxykhxngmxdulni 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 sandbox Messages msg The default header for test cases rendered in columns columns header Side by side comparison The error message to use if a templaten option is missing 1 the number of the missing template option missing template option error one or more options ending in 1 were detected but no template 1 option was found 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 the template invocation must include 1 in place of the template name 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 aemaebb chudthdsxb aemaebb Testcase table args format columns aemaebb Testcase rows args format rows aemaebb Test case nowiki func nowiki aemaebb Nowiki template demo func nowiki args showheader false showtemplate2 false aemaebb Collapsible test case args collapsible true aemaebb Collapsible 2 test case args collapsible true wantdiff true aemaebb Inline test case args format inline showcode true End config ekhathungcak https th wikipedia org w index php title mxdul Template test case config amp oldid 9271540, wikipedia, วิกิ หนังสือ, หนังสือ, ห้องสมุด,

บทความ

, อ่าน, ดาวน์โหลด, ฟรี, ดาวน์โหลดฟรี, mp3, วิดีโอ, mp4, 3gp, jpg, jpeg, gif, png, รูปภาพ, เพลง, เพลง, หนัง, หนังสือ, เกม, เกม