From Wikipedia, the free encyclopedia
Module:Sports table 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
Bu moduldan taxminan 24 000 sahifada foydalanilgan. Tajriba oʻtkazish uchun modulning /qumloq yoki /test ostsahifalaridan foydalaning. Oʻzgarishlar kiritishdan avval boshqa foydalanuvchilar bilan muhokama qilish haqida oʻylab koʻring. |
Bu andoza quyidagi Luadan foydalanadi: |
Bu modul quyidagi TemplateStylesdan foydalanadi: |
Wikitext test cases are at Module:Sports table/testcases wikitext.
The basic command is {{#invoke:Sports table|main|style=XXX}}
The XXX
in style=XXX
is to be replaced by one of the following available 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.
Other options can be used, for example: {{#invoke:Sports table|main|style=WL OT
|sortable_table = yes
|source=ICC
|update=July 28, 2018
"yes
" makes the table columns sortable
Adds a link which should point to a web resource with the information for verifying or updating the table
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. For a final table set "complete
".
Set to left or right to float the table to the left or right on the page
To append a reference to the title and suppress the need for a source at the foot of the table
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.