Module:PHL sports overall tally/doc
Appearance
![]() | This is a documentation subpage for Module:PHL sports overall tally. It may contain usage information, categories and other content that is not part of the original module page. |
About this module
This module is used to list the current or final overall team standings of the University Athletic Association of the Philippines (UAAP) and the National Collegiate Athletic Association (NCAA) of both seniors' and juniors' divisions.
Blank version
The below template contains a condensed version of the template with ALL teams' three-letter codes included, grouped by league and division. Omit parameters that are not needed.
University Athletic Association of the Philippines (UAAP)
|
---|
{{#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}} <!-- Basketball (BSKB) // 3x3 basketball (3X3B) --> |m_BSKB_ADU = |w_BSKB_ADU = |m_3X3B_ADU = |w_3XB_ADU = |m_BSKB_ADM = |w_BSKB_ADM = |m_3X3B_ADM = |w_3XB_ADM = |m_BSKB_DLS = |w_BSKB_DLS = |m_3X3B_DLS = |w_3XB_DLS = |m_BSKB_FEU = |w_BSKB_FEU = |m_3X3B_FEU = |w_3XB_FEU = |m_BSKB_NUI = |w_BSKB_NUI = |m_3X3B_NUI = |w_3XB_NUI = |m_BSKB_UEA = |w_BSKB_UEA = |m_3X3B_UEA = |w_3XB_UEA = |m_BSKB_UPD = |w_BSKB_UPD = |m_3X3B_UPD = |w_3XB_UPD = |m_BSKB_UST = |w_BSKB_UST = |m_3X3B_UST = |w_3XB_UST = <!-- Indoor volleyball (INVB) // Beach volleyball (BCVB) --> |m_INVB_ADU = |w_INVB_ADU = |m_BCVB_ADU = |w_BCVB_ADU = |m_INVB_ADM = |w_INVB_ADM = |m_BCVB_ADM = |w_BCVB_ADM = |m_INVB_DLS = |w_INVB_DLS = |m_BCVB_DLS = |w_BCVB_DLS = |m_INVB_FEU = |w_INVB_FEU = |m_BCVB_FEU = |w_BCVB_FEU = |m_INVB_NUI = |w_INVB_NUI = |m_BCVB_NUI = |w_BCVB_NUI = |m_INVB_UEA = |w_INVB_UEA = |m_BCVB_UEA = |w_BCVB_UEA = |m_INVB_UPD = |w_INVB_UPD = |m_BCVB_UPD = |w_BCVB_UPD = |m_INVB_UST = |w_INVB_UST = |m_BCVB_UST = |w_BCVB_UST = <!-- Swimming (SWMM) // Chess (CHSS) --> |m_SWMM_ADU = |w_SWMM_ADU = |m_CHSS_ADU = |w_CHSS_ADU = |m_SWMM_ADM = |w_SWMM_ADM = |m_CHSS_ADM = |w_CHSS_ADM = |m_SWMM_DLS = |w_SWMM_DLS = |m_CHSS_DLS = |w_CHSS_DLS = |m_SWMM_FEU = |w_SWMM_FEU = |m_CHSS_FEU = |w_CHSS_FEU = |m_SWMM_NUI = |w_SWMM_NUI = |m_CHSS_NUI = |w_CHSS_NUI = |m_SWMM_UEA = |w_SWMM_UEA = |m_CHSS_UEA = |w_CHSS_UEA = |m_SWMM_UPD = |w_SWMM_UPD = |m_CHSS_UPD = |w_CHSS_UPD = |m_SWMM_UST = |w_SWMM_UST = |m_CHSS_UST = |w_CHSS_UST = <!-- Tennis (TNNS) // Table tennis (TBTNS) --> |m_TNNS_ADU = |w_TNNS_ADU = |m_TBTN_ADU = |w_TBTN_ADU = |m_TNNS_ADM = |w_TNNS_ADM = |m_TBTN_ADM = |w_TBTN_ADM = |m_TNNS_DLS = |w_TNNS_DLS = |m_TBTN_DLS = |w_TBTN_DLS = |m_TNNS_FEU = |w_TNNS_FEU = |m_TBTN_FEU = |w_TBTN_FEU = |m_TNNS_NUI = |w_TNNS_NUI = |m_TBTN_NUI = |w_TBTN_NUI = |m_TNNS_UEA = |w_TNNS_UEA = |m_TBTN_UEA = |w_TBTN_UEA = |m_TNNS_UPD = |w_TNNS_UPD = |m_TBTN_UPD = |w_TBTN_UPD = |m_TNNS_UST = |w_TNNS_UST = |m_TBTN_UST = |w_TBTN_UST = <!-- Badminton (BDMT) // Fencing (FENC) --> |m_BDMT_ADU = |w_BDMT_ADU = |m_FENC_ADU = |w_FENC_ADU = |m_BDMT_ADM = |w_BDMT_ADM = |m_FENC_ADM = |w_FENC_ADM = |m_BDMT_DLS = |w_BDMT_DLS = |m_FENC_DLS = |w_FENC_DLS = |m_BDMT_FEU = |w_BDMT_FEU = |m_FENC_FEU = |w_FENC_FEU = |m_BDMT_NUI = |w_BDMT_NUI = |m_FENC_NUI = |w_FENC_NUI = |m_BDMT_UEA = |w_BDMT_UEA = |m_FENC_UEA = |w_FENC_UEA = |m_BDMT_UPD = |w_BDMT_UPD = |m_FENC_UPD = |w_FENC_UPD = |m_BDMT_UST = |w_BDMT_UST = |m_FENC_UST = |w_FENC_UST = <!-- Taekwondo (m&w TKWD) // Poomsae (c_TKWD) --> |m_TKWD_ADU = |w_TKWD_ADU = |c_TKWD_ADU = |m_TKWD_ADM = |w_TKWD_ADM = |c_TKWD_ADM = |m_TKWD_DLS = |w_TKWD_DLS = |c_TKWD_DLS = |m_TKWD_FEU = |w_TKWD_FEU = |c_TKWD_FEU = |m_TKWD_NUI = |w_TKWD_NUI = |c_TKWD_NUI = |m_TKWD_UEA = |w_TKWD_UEA = |c_TKWD_UEA = |m_TKWD_UPD = |w_TKWD_UPD = |c_TKWD_UPD = |m_TKWD_UST = |w_TKWD_UST = |c_TKWD_UST = <!-- Baseball (BSBL) // Softball (SFBL) // Judo (JUDO) --> |m_BSBL_ADU = |w_SFBL_ADU = |m_JUDO_ADU = |w_JUDO_ADU = |m_BSBL_ADM = |w_SFBL_ADM = |m_JUDO_ADM = |w_JUDO_ADM = |m_BSBL_DLS = |w_SFBL_DLS = |m_JUDO_DLS = |w_JUDO_DLS = |m_BSBL_FEU = |w_SFBL_FEU = |m_JUDO_FEU = |w_JUDO_FEU = |m_BSBL_NUI = |w_SFBL_NUI = |m_JUDO_NUI = |w_JUDO_NUI = |m_BSBL_UEA = |w_SFBL_UEA = |m_JUDO_UEA = |w_JUDO_UEA = |m_BSBL_UPD = |w_SFBL_UPD = |m_JUDO_UPD = |w_JUDO_UPD = |m_BSBL_UST = |w_SFBL_UST = |m_JUDO_UST = |w_JUDO_UST = <!-- Football (FTBL) // Athletics or track & field (ATHL) --> |m_FTBL_ADU = |w_FTBL_ADU = |m_ATHL_ADU = |w_ATHL_ADU = |m_FTBL_ADM = |w_FTBL_ADM = |m_ATHL_ADM = |w_ATHL_ADM = |m_FTBL_DLS = |w_FTBL_DLS = |m_ATHL_DLS = |w_ATHL_DLS = |m_FTBL_FEU = |w_FTBL_FEU = |m_ATHL_FEU = |w_ATHL_FEU = |m_FTBL_NUI = |w_FTBL_NUI = |m_ATHL_NUI = |w_ATHL_NUI = |m_FTBL_UEA = |w_FTBL_UEA = |m_ATHL_UEA = |w_ATHL_UEA = |m_FTBL_UPD = |w_FTBL_UPD = |m_ATHL_UPD = |w_ATHL_UPD = |m_FTBL_UST = |w_FTBL_UST = |m_ATHL_UST = |w_ATHL_UST = }} |
National Collegiate Athletic Association (NCAA)
|
---|
{{#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}} }} |
Usage
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
|team1 = ADU
|team2 = ADM
|team3 = DLS
|team4 = FEU
|team5 = NUI
|team6 = UEA
|team7 = UPD
|team8 = UST
}}
|
{{#invoke:PHL sports overall tally|main
|pts_1st=50|pts_2nd=40|pts_3rd=35
|team01 = AUN
|team02 = CSB
|team03 = EAC
|team04 = JRU
|team05 = CSJ
|team06 = LPU
|team07 = MUN
|team08 = SBU
|team09 = SSC
|team10 = UPH
}}
| ||||||||||||||||||||||||||||||||||
What it looks like |
= Champion; = Runner-up; = Third place; — = No team.
Notes: Results are final. |
= Champion; = Runner-up; = Third place; — = No team.
Notes: Results are final. |
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 .
|
ptsonly |
Toggle to display tally table only with the overall points. Set to y to enable points only-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
|
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 |ptsonly=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 |
Examples
Example 1: Tally overview
- If point value of a team is blank, not provided or a
string
, value will be displayed as0
, e.g. the cases ofpts_BBB
(missing) andpts_DDD
(a string) below.
What you type | What it looks like | |||||||||||||||
{{#invoke:PHL sports overall tally|main|ptsonly=y
|team1 = AAA |name_AAA = {{UAAPteam|UST}} |pts_AAA = 444
|team2 = BBB |name_BBB = [[Dream Team]]
|team3 = CCC |name_CCC = Team C |pts_CCC = 345
|team4 = DDD |name_DDD = Team D |pts_DDD = Dunno
|team5 = EEE |name_EEE = {{bk|ESP}} |pts_EEE = 400
|team6 = FFFF |name_FFFF = {{bk|AUS}} |pts_FFFF = 350
|team7 = GG |name_GG = {{bk|ARG}} |pts_GG = 390
}}
|
= Champion; = Runner-up; = Third place; — = No team.
Notes: Results are final. |
Example 2: Detailed tally table
Example 2A: Using default values
| |
What you type | What it looks like |
---|---|
{{#invoke:PHL sports overall tally|main
|team_AAA = {{UAAPteam|UST|short}}
|team_BBB = [[Dream Team]]
|team_CCC = Team C
|team_DDD = Team D
|team_EEE = {{bk|ESP}}
|m_3X3B_AAA=15 |w_3X3B_AAA=10 |m_FENC_AAA = 8 |c_TKWD_AAA=12 |w_JUDO_AAA= 0
|m_3X3B_BBB= 8 |w_3X3B_BBB=15 |m_FENC_BBB = 6 |c_TKWD_BBB=10 |w_JUDO_BBB= 6
|m_3X3B_CCC=12 |w_3X3B_CCC= |m_FENC_CCC = 10 |c_TKWD_CCC= 6 |w_JUDO_CCC= 8
|m_3X3B_DDD= 6 |w_3X3B_DDD=12 |m_FENC_DDD = 15 |c_TKWD_DDD= 8 |w_JUDO_DDD= 12
|m_3X3B_EEE=10 |w_3X3B_EEE= 0 |m_FENC_EEE = 12 |c_TKWD_EEE=15 |w_JUDO_EEE= 0
}}
|
Lua error in Module:PHL_sports_overall_tally at line 437: At least one team required. |
Example 2B: Overriding the default 1st/2nd/3rd placer points
| |
What you type | What it looks like |
{{#invoke:PHL sports overall tally|main
|pts_1st=50|pts_2nd=40
|team_FFF = {{UAAPteam|CSJ|short}}
|team_GGG = {{bk|NZL}}
|team_HHH = Team H
|team_III = [[School of Hard Knocks]]
|team_JJJ = Team J
|m_JUDO_FFF=50 |w_JUDO_FFF=10 |m_ATHL_FFF = 5 |c_XXXX_FFF= 1
|m_JUDO_GGG=50 |w_JUDO_GGG=15 |m_ATHL_GGG = 5 |c_XXXX_GGG=10
|m_JUDO_HHH=12 |w_JUDO_HHH=50 |m_ATHL_HHH = 3 |c_XXXX_HHH=50
|m_JUDO_III= 6 |w_JUDO_III=40 |m_ATHL_III = 7 |c_XXXX_III=40
|m_JUDO_JJJ=10 |w_JUDO_JJJ= 0 |m_ATHL_JJJ = 50 |c_XXXX_JJJ=10
}}
|
Lua error in Module:PHL_sports_overall_tally at line 437: At least one team required. |
Example 2C: Juniors' division
| |
What you type | What it looks like |
{{#invoke:PHL sports overall tally|main|division=junior
|team_AAA = {{UAAPteam|UST|short}}
|team_BBB = [[Dream Team]]
|team_CCC = Team C
|team_DDD = Team D
|team_EEE = {{bk|ESP}}
|b_FENC_AAA=15 |g_FENC_AAA=10 |w_FENC_AAA = 8 |c_ATHL_AAA=12 |g_CHSS_AAA= 10
|b_FENC_BBB= 8 |g_FENC_BBB=15 |w_FENC_BBB = 6 |c_ATHL_BBB=10 |g_CHSS_BBB= 6
|b_FENC_CCC=12 |g_FENC_CCC= |m_FENC_CCC = 10 |c_ATHL_CCC= 6 |g_CHSS_CCC= 8
|b_FENC_DDD= 6 |g_FENC_DDD=12 |m_FENC_DDD = 15 |c_ATHL_DDD= 8 |g_CHSS_DDD= 12
|b_FENC_EEE=10 |g_FENC_EEE= 0 |m_FENC_EEE = 12 |c_ATHL_EEE=15 |g_CHSS_EEE= 15
}}
|
Lua error in Module:PHL_sports_overall_tally at line 437: At least one team required. |