Template:Basketball ladder header: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
| fontcolor={{#if:{{{color1|}}}|{{{color1}}}|{{Greater color contrast ratio|{{#if:{{{bg1|}}}| {{{bg1}}}|{{#invoke:Sports color|color|sport=basketball|{{{team}}}|1}} }} |black|white}} }} |
| fontcolor={{#if:{{{color1|}}}|{{{color1}}}|{{Greater color contrast ratio|{{#if:{{{bg1|}}}| {{{bg1}}}|{{#invoke:Sports color|color|sport=basketball|{{{team}}}|1}} }} |black|white}} }} |
||
}} |
}} |
||
| <span style="color:{{#if:{{{color1|}}}|{{{color1}}}|{{Greater color contrast ratio|{{#if:{{{bg1|}}}| {{{bg1}}}|{{#invoke:Sports color|color|sport=basketball|{{{team}}}|1}} }} |black|white}} }};">{{{title|{{ |
| <span style="color:{{#if:{{{color1|}}}|{{{color1}}}|{{Greater color contrast ratio|{{#if:{{{bg1|}}}| {{{bg1}}}|{{#invoke:Sports color|color|sport=basketball|{{{team}}}|1}} }} |black|white}} }};">{{{title|{{{season}}} {{{league}}} ladder}}}</span> |
||
}} |
}} |
||
|- style="{{#if:{{{bg2|{{{color1|}}}}}}|background-color: {{{bg2|{{{color1}}}}}}|background-color: #{{#invoke:Sports color|color|sport=basketball|{{{team}}}|3}} }}; {{#if:{{{color2|{{{bg1|}}}}}}|color: {{{color2|{{{bg1}}}}}}|color: {{Greater color contrast ratio|{{#if:{{{bg2|{{{color1|}}}}}}|{{{bg2|{{{color1}}}}}}|{{#invoke:Sports color|color|sport=basketball|{{{team}}}|3}} }} |black|white}} }}; text-align: center;" |
|- style="{{#if:{{{bg2|{{{color1|}}}}}}|background-color: {{{bg2|{{{color1}}}}}}|background-color: #{{#invoke:Sports color|color|sport=basketball|{{{team}}}|3}} }}; {{#if:{{{color2|{{{bg1|}}}}}}|color: {{{color2|{{{bg1}}}}}}|color: {{Greater color contrast ratio|{{#if:{{{bg2|{{{color1|}}}}}}|{{{bg2|{{{color1}}}}}}|{{#invoke:Sports color|color|sport=basketball|{{{team}}}|3}} }} |black|white}} }}; text-align: center;" |
Revision as of 07:19, 24 March 2020
{{{season}}} {{{league}}} ladder | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Ladder | Information | |||||||||||||
|
click to view → | |
---|---|
Note: no parameters of these templates should be wiki-linked. | |
{{Basketball ladder header | |
| end_year = | end year of the season. |
| league = | name of league. |
| team = | name of team (used for custom colors). |
}} {{Basketball ladder team | |
| pos = | position in the league. |
| nat = | nationality of the team. |
| name = | name of the team. |
| note = | additional notes. acceptable notes include NT (new team), RC (reigning champion) and (MC) (minor champion) |
| home_wins = | wins at home. |
| away_wins = | wins away from home. |
| home_losses = | losses at home. |
| away_losses = | losses away from home. |
| last5 = | results from the last 5 games (wins-losses). |
| streak = | current streak. |
| points_for = | points scored. |
| points_against = | points against. |
| perc_points = | points percentage. |
| perc_wins = | wins percentage. |
}} {{Basketball ladder footer | |
| current_round = | current round (remove if season has finished). |
| total_rounds = | total rounds. |
| games_per_team = | games each team plays. |
| total_games = | total games per season. |
| mc = | nt = | rc = |
use yes to show them in the legend. |
| accessdate= | last date the team template is known to have been updated from above URLs ISO (DD-MM-YYYY) format please or (Month DD, YYYY), just like "cite" templates. |
}} |
See also
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Team | team | Custom colors | String | suggested |
End Year | end_year | End year of the season
| String | required |
League | league | League Name
| String | required |
Home Games label | home | Show home games won | String | suggested |
Away Games label | away | Show away games won | String | suggested |