模块:Sports table/doc

求闻百科,共笔求闻

This Lua-based module is meant to build group and league tables for sports as well. Note that this module is used extensively, so test potential changes rigorously in the sandbox and please ensure consensus exists before implementing major changes. The rest of this documentation explains how the set-up of the module. Refer to individual style pages for detailed usage instructution

用法

基本指令可见 {{#invoke:Sports table|main|style=XXX}} 部分可用的基本模组如下

普通
  • WDL (有胜和负的系统)
  • WL (有胜负的系统)
足球模组

More styles?

The module uses Lua to create the tables. Most functionality is obtained from the main module, but specific column formatting comes from the style sub-modules. The existing styles can handle a lot of different options. In case you need additional options it could be useful to create a new style. Note that some tweaking of an existing style could give you the functionality you need, rather than creating a completely new style. In case you do create a new style, you might want to refer to the Lua reference manual.