模块:Documentation/config
来自电棍ottowiki
更多操作
--源代码来自维基百科:https://zh.wikipedia.org/w/index.php?title=Module:Documentation/config&oldid=84705147
--该部分代码使用CC BY-SA 4.0许可证 (https://creativecommons.org/licenses/by-sa/4.0/)
----------------------------------------------------------------------------------------------------
-- Configuration for Module:Documentation
--
-- Here you can set the values of the parameters and messages used in Module:Documentation to
-- localise it to your wiki and your language. Unless specified otherwise, values given here
-- should be string values.
----------------------------------------------------------------------------------------------------
local cfg = {} -- Do not edit this line.
----------------------------------------------------------------------------------------------------
-- Protection template configuration
----------------------------------------------------------------------------------------------------
cfg['protection-reason-edit'] = 'template'
----------------------------------------------------------------------------------------------------
-- Start box configuration
----------------------------------------------------------------------------------------------------
cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
cfg['template-namespace-heading'] = '模板文档'
cfg['module-namespace-heading'] = '模块文档'
cfg['file-namespace-heading'] = '摘要'
cfg['other-namespaces-heading'] = '文档'
cfg['view-link-display'] = '查看'
cfg['edit-link-display'] = '编辑'
cfg['history-link-display'] = '历史'
cfg['purge-link-display'] = '清除缓存'
cfg['create-link-display'] = '创建'
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'
cfg['docpage-preload'] = 'Template:Documentation/preload'
----------------------------------------------------------------------------------------------------
-- Link box (end box) configuration
----------------------------------------------------------------------------------------------------
cfg['transcluded-from-blurb'] = '上述[[Wikipedia:模板文档页模式|文档]][[Wikipedia:嵌入包含|嵌入]]自$1。'
----------------------------------------------------------------------------------------------------
-- HTML and CSS configuration
----------------------------------------------------------------------------------------------------
cfg['templatestyles'] = 'Module:Documentation/styles.css'
cfg['container'] = 'documentation-container'
cfg['main-div-classes'] = 'documentation'
cfg['main-div-heading-class'] = 'documentation-heading'
cfg['start-box-class'] = 'documentation-startbox'
cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks'
cfg['end-box-class'] = 'documentation-metadata'
cfg['end-box-plainlinks'] = 'plainlinks'
cfg['toolbar-class'] = 'documentation-toolbar'
cfg['clear'] = 'documentation-clear'
----------------------------------------------------------------------------------------------------
-- Tracking category configuration
----------------------------------------------------------------------------------------------------
cfg['display-strange-usage-category'] = true
cfg['strange-usage-category'] = '异常使用((documentation))的页面'
cfg['doc-subpage'] = 'doc'
----------------------------------------------------------------------------------------------------
-- End configuration
----------------------------------------------------------------------------------------------------
return cfg