ผลต่างระหว่างรุ่นของ "มอดูล:Documentation/config"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
ไม่มีความย่อการแก้ไข
ไม่มีความย่อการแก้ไข
บรรทัดที่ 13:
-- Protection template configuration
----------------------------------------------------------------------------------------------------
 
-- cfg['protection-template']
-- The name of the template that displays the protection icon (a padlock on enwiki).
cfg['protection-template'] = 'pp-template'
 
-- cfg['protection-reason-edit']
เส้น 18 ⟶ 22:
-- [[Module:Protection banner]].
cfg['protection-reason-edit'] = 'template'
 
--[[
-- cfg['protection-template-args']
-- Any arguments to send to the protection template. This should be a Lua table.
-- For example, if the protection template is "pp-template", and the wikitext template invocation
-- looks like "{{pp-template|docusage=yes}}", then this table should look like "{docusage = 'yes'}".
--]]
cfg['protection-template-args'] = {docusage = 'yes'}
 
--[[
เส้น 393 ⟶ 405:
-- cfg['fmbox-style']
-- The value sent to the style parameter of {{fmbox}}.
cfg['fmbox-style'] = 'background-color: #ecfcf4eef5ff;width: 100%; border: 1px solid #aaddff;'
 
-- cfg['fmbox-textstyle']
เส้น 411 ⟶ 423:
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a
-- /doc subpage or a /testcases subpage.
cfg['strange-usage-category'] = 'หน้าวิกิพีเดียที่ใช้งานแม่แบบ {{คู่มือการใช้งาน}} แปลก'
 
--[[