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

From blackwiki
Jump to navigation Jump to search
imported>Ben b
imported>PrimeBOT
m (→‎Complete table example: Task 32 - update template family to follow MOS:NUMBERSIGN)
 
(8 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
=== 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.
+
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 {{Tl|Cbb link}}.
 +
: 2: Intra-conference wins
 +
: 3: Intra-conference losses
 +
: 4: Total wins
 +
: 5: Total losses
  
The template calculates conference and overall win percentages and displays them to three decimal places.
+
==Complete table example==
 
+
{{CBB Standings Start|2008–09 Big East men's basketball standings}}
All parameters are required.
+
{{CBB Standings Entry|{{abbr|No.|Number}} 1 [[2008–09 Connecticut Huskies men's basketball team|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}}
===Complete table example===
+
{{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}}
 
<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}}
{{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|{{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|#8 [[2008–09 Marquette Golden Eagles men's basketball team|Marquette]]|9|1|20|3}}
+
{{CBB Standings Entry|{{abbr|No.|Number}} 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 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}}
 
{{CBB Standings End|date=February 8, 2009}}
 
</pre>
 
</pre>
{{-}}
+
{{clear}}
{{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>{{Sandbox other||
 
 
<includeonly>
 
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Basketball templates|{{PAGENAME}}]]
 
[[Category:Basketball templates|{{PAGENAME}}]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 14:10, 27 May 2020

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