Module:PHL sports overall tally/doc

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.





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

Events
The following are the tournaments supported by this module:

Example 1: Overview style
{| class="wikitable" style="background:white;"
 * align="left" colspan="2" |
 * align="left" colspan="2" |

Example 1A: Table only with overall total points
! What you type !! What it looks like
 * If point value of a team is blank, not provided or a, value will be displayed as  , e.g. the cases of   (missing) and   (a string) below.
 * undefined
 * align="left" colspan="2" |
 * align="left" colspan="2" |
 * align="left" colspan="2" |

Example 1B: Medals table
! What you type !! What it looks like
 * Medals data table will automatically reflect given the rankings on each event; i.e. numbers,  , and   corresponds to gold, silver and bronze medals, respectively.
 * undefined
 * }
 * }

Example 2: Detailed tally table
{| class="wikitable" style="background:white;"
 * align="left" colspan="2" |
 * align="left" colspan="2" |

Example 2A: Using default values
! What you type !! What it looks like
 * An event column will not appear if first-placer for that tournament is not found, e.g. the case of  parameters below
 * If point value is blank or, it is assumed the team did not participate the tournament, e.g. the cases of   and   below
 * undefined
 * colspan="2" |
 * colspan="2" |
 * colspan="2" |

Example 2B: Overriding the default 1st/2nd/3rd placer points
! What you type !! What it looks like
 * Unsupported events will not appear, e.g. the case of  parameters below
 * If rank is greater than total number of teams, it is assumed the team did not participate the tournament, e.g. the case of  below (Rank   out of 5 teams)
 * undefined
 * colspan="2" |
 * colspan="2" |
 * colspan="2" |

Example 2C: Juniors' division
! What you type !! What it looks like
 * Unnecessary parameters will be ignored, e.g. the case of  and   parameters below (as both   and   are considered collegiate division)
 * undefined
 * align="left" colspan="2" |
 * align="left" colspan="2" |
 * align="left" colspan="2" |

Example 2D: Tie in rankings

 * In example below, teams are ranked as follows:
 * T4 and T4 –  denotes tie at fourth place, getting 7 points each
 * T2, T2 and T2 –  denotes three-way tie at second place, getting 10 points each
 * undefined
 * }
 * }