模組:Sports table/doc

这是Module:Sports table的文档页面

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.