模板:Ml-multi

来自能源智库
跳转至: 导航搜索

[[Module:]] Lua错误:无法创建进程:proc_open不可用。请检查PHP的指令配置“disable_functions”。

50px 模板-{zh-hans:文档; zh-hant:文件;}-[-{zh-hans:查看; zh-hant:檢視;}-] [编辑] [-{zh-hans:页面历史; zh-hant:頁面歷史; zh-cn:页面历史; zh-sg:页面历史; zh-hk:頁面歷史; zh-mo:頁面歷史; zh-tw:修訂記錄;}-] [清除]

Usage

This is a metatemplate to produce a linklist for modules. Currently it is only used by {{ml}}.

{{ml-multi
| module= [module page name, e.g., String]
| sandbox= [sandbox page in Module namespace]
}}
  • {{ml|module=String|sandbox=String/sandbox}}Module:String Lua错误:无法创建进程:proc_open不可用。请检查PHP的指令配置“disable_functions”。

Possible improvements

  • The module's sandbox page is to be entered by parameter. It may be determined automatically.
  • Allow modules in other projects than en: to be linked to, e.g., test2:Module:Coordinates ([1]).
  • Internally: truly free multi-template (no hardcoded links)

Technically

Inspired by {{user-multi}}, throug not fully implementd (link options are hardcoded so far)

See also