Munurin millum rættingarnar hjá "Module:Sports table/doc"
Content deleted Content added
EileenSanda (kjak | íkøst) →Usage: dagføring |
EileenSanda (kjak | íkøst) dagføring |
||
Linja 1:
{{module rating|release}}▼
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{Lua|Module:Arguments|Module:No globals|Module:Sports results|Module:Sports table/sub|Module:Yesno}}
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
==
The basic command is <code><nowiki>{{#invoke:Sports table|main|style=XXX}}</nowiki></code>
Line 13 ⟶ 15:
* [[Module:Sports table/WDL|WDL]] – For tables with a win-draw-loss system
* [[Module:Sports table/WL|WL]] – For tables with a win-loss system
* [[Module:Sports table/WL PK|WL PK]] – For tables with a win-loss system that gives different weights to wins and losses from a penalty kick shootout
* [[Module:Sports table/WL OT|WL OT]] – For tables with a win-loss system that gives different weights to overtime wins
* [[Module:Sports table/WL OTL tiebreak|WL OTL tiebreak]] – For tables with a win-loss-OT loss system and a separate tiebreak column
* [[Module:Sports table/WL goal points|WL goal points]] – For tables with a win-loss system that gives additional points for goals
* [[Module:Sports table/WDLHA|WDLHA]] – For tables with separate home and away win-draw-loss accounting
* [[Module:Sports table/WLHA|WLHA]] – For tables with separate home and away win-loss accounting
* [[Module:Sports table/WDL OT|WDL OT]] – For tables with a win-loss system which allow draws or overtime wins in certain situations
* [[Module:Sports table/PP|PP]] – For simple tables which only show games played and number of points
* [[Module:Sports table/RR|Round robin]]
* [[Module:Sports table/Custom|Custom]] – For tables in which the number of columns and all column headers are specified as inputs, for greater customization
====Sport or league specific styles====
Line 28 ⟶ 34:
* [[Module:Sports table/CricketRR|CricketRR]] – Cricket table with Net Run Rate
* [[Module:Sports table/CricketCC|CricketCC]] – Cricket table for County Championship with batting and bowling bonus points
* [[Module:Sports table/Fencing|Fencing]]
* Football (soccer) was the first creation. This style is renamed to [[Module:Sports table/WDL|WDL]]
Line 49 ⟶ 56:
Gives the date when the table info was last updated. This is to be set manually - it's not automatically changed when someone changes the table.
;float
Set to left or right to float the table to the left or right on the page
;title_source
To append a reference to the title and suppress the need for a source at the foot of the table
|