Jump to content

Module:PHL sports overall tally/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by McVahl (talk | contribs) at 11:27, 27 March 2020 (Usage: +params). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Usage

This module is used to list the current or final overall team standings of University Athletic Association of the Philippines (UAAP) and National Collegiate Athletic Association (NCAA) of both seniors' and juniors' divisions.

In it's simplest form, only several parameters need to be used to build a table.

University Athletic Association of the Philippines
(UAAP)
National Collegiate Athletic Association
(NCAA)
What you type
{{#invoke:PHL sports overall tally|main

|team_ADU = {{UAAPteam|ADU|short}}
|team_ADM = {{UAAPteam|ADM|short}}
|team_DLS = {{UAAPteam|DLS|short}}
|team_FEU = {{UAAPteam|FEU|short}}
|team_NUI = {{UAAPteam|NUI|short}}
|team_UEA = {{UAAPteam|UEA|short}}
|team_UPD = {{UAAPteam|UPD|short}}
|team_UST = {{UAAPteam|UST|short}}
}}
{{#invoke:PHL sports overall tally|main
|pts_1st=50|pts_2nd=40|pts_3rd=35

|team_AUN = {{UAAPteam|AUN|short}}
|team_CSB = {{UAAPteam|CSB|short}}
|team_EAC = {{UAAPteam|EAC|short}}
|team_JRU = {{UAAPteam|JRU|short}}
|team_CSJ = {{UAAPteam|CSJ|short}}
|team_LPU = {{UAAPteam|LPU|short}}
|team_MUN = {{UAAPteam|MUN|short}}
|team_SBU = {{UAAPteam|SBU|short}}
|team_SSC = {{UAAPteam|SSC|short}}
|team_UPH = {{UAAPteam|UPH|short}}
}}
What it looks like Lua error in Module:PHL_sports_overall_tally at line 437: At least one team required. Lua error in Module:PHL_sports_overall_tally at line 437: At least one team required.

Parameters

General parameters
Parameter Description
team_ABC The name of team ABC. Parameter key must contain a three-letter code.
status_ABC The status of team ABC. Supported values include H (season host).
division The tournament division. Supported values include senior (default) and junior.
summary Toggle to display tally summary, showing only the overall points. Set to y to enable summary-style table.
Championship point parameters
Parameter Description
m_BSKB_ABC The points obtained by team ABC for an event or sport. Parameter syntax must be followed: Division_EventCode_TeamCode
  • m – The division code. Supported values include m (men's), w (women's), b (boys'), g (girls') and c (mixed or co-ed).
  • BSKB – The event code. See the events section below for list of supported tournaments and their corresponding event codes.
  • ABC – The team's three-letter code
pts_1st The number of points given to the champions or first placer. The default is 15.
pts_2nd The number of points given to the runners-up or second placer. The default is 12.
pts_3rd The number of points given to the third placer. The default is 10.
pts_ABC The overall points obtained by team ABC. Parameter will take effect only if |summary=y.

Events

The following are the tournaments supported by this module:

Event code Event
BSKB Basketball
3X3B 3x3 basketball
INVB Indoor volleyball
BCVB Beach volleyball
SWMM Swimming
CHSS Chess
TNNS Tennis
TBTN Table tennis
BDMT Badminton
TKWD Taekwondo
JUDO Judo
BSBL Baseball
SFBL Softball
FTBL Football
ATHL Athletics / track and field
FENC Fencing