Difference between revisions of "Template:CBB Standings Entry"

From blackwiki
Jump to navigation Jump to search
imported>X96lee15
(now handles 1.000 case properly)
imported>X96lee15
(changed to use {{win pct}}; cleaned up A LOT)
Line 1: Line 1:
 
|-
 
|-
| align="left" | {{{1}}} || {{{2|0}}} || {{{3|0}}} || {{#ifexpr: ({{{2|0}}} > 0) and ({{{3|0}}} = 0) | 1.000 | {{#ifeq:{{#expr:{{{2|0}}}+{{{3|0}}}}} | 0 | – | .{{padleft:{{#expr:(({{{2|0}}} / ({{{2|0}}}+{{{3|1}}}))*1000) round 0}}|3|0}} }} }} || {{{4|0}}} || {{{5|0}}} || {{#ifexpr: ({{{4|0}}} > 0) and ({{{5|0}}} = 0) | 1.000 | {{#ifeq:{{#expr:{{{4|0}}}+{{{5|0}}}}} | 0 | – | .{{padleft:{{#expr:(({{{4|0}}} / ({{{4|0}}}+{{{5|1}}}))*1000) round 0}}|3|0}} }} }}
+
| align="left" | {{{1}}} || {{{2|0}}} || {{{3|0}}} || {{winning percentage|{{{2|0}}}|{{{3|0}}}}} || {{{4|0}}} || {{{5|0}}} || {{winning percentage|{{{4|0}}}|{{{5|0}}}}}
 
<noinclude>
 
<noinclude>
 
|}{{documentation}}
 
|}{{documentation}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 03:03, 4 December 2009

|- | align="left" | {{{1}}} || 0 || 0 || Template:Winning percentage || 0 || 0 || Template:Winning percentage

|}

Template documentation[view] [edit] [history] [purge]

Usage

This template is used to show each team entry in a college basketball conference standings template box. It should be used in conjunction with the templates in the #See also section.

Fields for use of a team entry (copy and paste text below and then fill in the fields)
{{CBB Standings Entry | | | | | }}

In order, the five blank fields for display of a team entry in the standings:

1: Team name
This is to be a direct link to the team's season, piped to show only the school's name, when the article exists. When the individual team's season article does not exist then apply {{Cbb link}}.
2: Intra-conference wins
3: Intra-conference losses
4: Total wins
5: Total losses

Complete table example

2008–09 Big East men's basketball standings
Conf     Overall
Team W   L   PCT     W   L   PCT
No. 1 Connecticut 10 1 Template:Winning percentage 21 1 Template:Winning percentage
No. 8 Marquette 9 1 Template:Winning percentage 20 3 Template:Winning percentage
No. 5 Louisville 9 1 Template:Winning percentage 18 4 Template:Winning percentage
As of February 8, 2009; Rankings from AP Poll
{{CBB Standings Start|2008–09 Big East men's basketball standings}}
{{CBB Standings Entry|{{abbr|No.|Number}} 1 {{cbb link|2008|sex=men|school=University of Connecticut|team=Connecticut Huskies|title=Connecticut}}|10|1|21|1}}
{{CBB Standings Entry|{{abbr|No.|Number}} 8 [[2008–09 Marquette Golden Eagles men's basketball team|Marquette]]|9|1|20|3}}
{{CBB Standings Entry|{{abbr|No.|Number}} 5 [[2008–09 Louisville Cardinals men's basketball team|Louisville]]|9|1|18|4}}
{{CBB Standings End|date=February 8, 2009}}

See also