Difference between revisions of "Template:CBB Standings Entry/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ben b
imported>Ben b
(updated text and formatting)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
This template main table entry for college basketball conference standings. It should be used in conjunction with the templates in the [[#See also]] section.   
+
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.   
  
===Parameters===
+
;Fields for use of a team entry (copy and paste text below and then fill in the fields):<code><nowiki>{{CBB Standings Entry | | | | | }}
<pre>{{CBB Standings Entry|Team|ConfWins|ConfLosses|TotalWins|TotalLosses}}</pre>
+
</nowiki></code>
  
TeamLink should be the name of the team.  This is usually a link and may use {{tl|cbb link}} or be a regular wikilink.
+
;Field for display of a division name (copy and paste text below and then fill in the fields):<code><nowiki>{{CBB Standings Entry |division-name=}}
 +
</nowiki></code>
  
The template calculates conference and overall win percentages and displays them to three decimal places.
+
In order, the five blank fields for display of a team entry in the standings:
 
+
: 1: Team name
All parameters are required.
+
:: 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 {{Tl|Cbb link}}.
 +
: 2: Intra-conference wins
 +
: 3: Intra-conference losses
 +
: 4: Total wins
 +
: 5: Total losses
  
 
===Complete table example===
 
===Complete table example===
 +
{{CBB Standings Start|2008–09 Big East men's basketball standings}}
 +
{{CBB Standings Entry|#1 [[2008–09 Connecticut Huskies men's basketball team|Connecticut]]|10|1|21|1}}
 +
{{CBB Standings Entry|#8 [[2008–09 Marquette Golden Eagles men's basketball team|Marquette]]|9|1|20|3}}
 +
{{CBB Standings Entry|#5 [[2008–09 Louisville Cardinals men's basketball team|Louisville]]|9|1|18|4}}
 +
{{CBB Standings End|date=February 8, 2009}}
 
<pre  style="overflow: auto">
 
<pre  style="overflow: auto">
 
{{CBB Standings Start|2008–09 Big East men's basketball standings}}
 
{{CBB Standings Start|2008–09 Big East men's basketball standings}}
Line 23: Line 33:
 
</pre>
 
</pre>
 
{{-}}
 
{{-}}
{{CBB Standings Start|2008–09 Big East men's basketball standings}}
 
{{CBB Standings Entry|#1 [[2008–09 Connecticut Huskies men's basketball team|Connecticut]]|10|1|21|1}}
 
{{CBB Standings Entry|#8 [[2008–09 Marquette Golden Eagles men's basketball team|Marquette]]|9|1|20|3}}
 
{{CBB Standings Entry|#5 [[2008–09 Louisville Cardinals men's basketball team|Louisville]]|9|1|18|4}}
 
{{CBB Standings End|date=February 8, 2009}}
 
  
 
=== See also ===
 
=== See also ===
 
*{{tl|CBB Standings Start}}
 
*{{tl|CBB Standings Start}}
 
*{{tl|CBB Standings End}}
 
*{{tl|CBB Standings End}}
 
{{esoteric}}
 
  
 
<includeonly>
 
<includeonly>

Revision as of 22:04, 9 May 2012

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 | | | | | }}
Field for display of a division name (copy and paste text below and then fill in the fields)
{{CBB Standings Entry |division-name=}}

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
#1 Connecticut 10 1   Template:Winning percentage     21 1   Template:Winning percentage
#8 Marquette 9 1   Template:Winning percentage     20 3   Template:Winning percentage
#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|#1 {{cbb link|2008|sex=men|school=University of Connecticut|team=Connecticut Huskies|title=Connecticut}}|10|1|21|1}}
{{CBB Standings Entry|#8 [[2008–09 Marquette Golden Eagles men's basketball team|Marquette]]|9|1|20|3}}
{{CBB Standings Entry|#5 [[2008–09 Louisville Cardinals men's basketball team|Louisville]]|9|1|18|4}}
{{CBB Standings End|date=February 8, 2009}}

See also