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

From blackwiki
Jump to navigation Jump to search
imported>AnomieBOT
m (Substing unneeded template instances to reduce #ifexist parserfunction usage: {{Cbb link}})
imported>Ben b
(wording and formatting updates)
Line 5: Line 5:
 
This template is the header for college basketball conference standings. It should be used in conjunction with the templates in the [[#See also]] section.   
 
This template is the header for college basketball conference standings. It should be used in conjunction with the templates in the [[#See also]] section.   
  
This template requires one parameter: the title of the table. This should be a valid name of a template so that the template edit links work.
+
;Fields for use (copy and paste text below and then fill in the fields):<code><nowiki>{{CBB Standings Start| |}}
 +
</nowiki></code>
  
A second optional parameter may specify a link for the top of the table.
+
In order, the two blank fields available for use in the template are:
 +
: 1: The name of the template. This is the name of the template, which will also appear as the title at the top of the template box.
 +
: 2: ''(Optional)'' &ndash; the article to which the title bar of the template will link.
  
 
===Examples===
 
===Examples===
 
{{CBB Standings Start|2008–09 Big East men's basketball standings}}
 
{{CBB Standings Start|2008–09 Big East men's basketball standings}}
 
|} <!-- needed in this example to end the table, do not use on an actual page -->
 
|} <!-- needed in this example to end the table, do not use on an actual page -->
<pre>{{CBB Standings Start|2008–09 Big East men's basketball standings}}</pre>
+
<pre style="overflow: auto">{{CBB Standings Start|2008–09 Big East men's basketball standings}}</pre>
  
 
{{CBB Standings Start|2008–09 Big Ten men's basketball standings|2008–09 Big Ten Conference men's basketball season}}
 
{{CBB Standings Start|2008–09 Big Ten men's basketball standings|2008–09 Big Ten Conference men's basketball season}}
 
|} <!-- needed in this example to end the table, do not use on an actual page -->
 
|} <!-- needed in this example to end the table, do not use on an actual page -->
<pre>{{CBB Standings Start|2008–09 Big Ten men's basketball standings|2008–09 Big Ten Conference men's basketball season}}</pre>
+
<pre style="overflow: auto">{{CBB Standings Start|2008–09 Big Ten men's basketball standings|2008–09 Big Ten Conference men's basketball season}}</pre>
  
 
===Complete table example===
 
===Complete table example===
Line 24: Line 27:
 
{{CBB Standings Entry|#5 [[2008–09 Louisville Cardinals men's basketball team|Louisville]]|9|1|18|4}}
 
{{CBB Standings Entry|#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 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|#1 {{cbb link|2008|sex=men|school=University of Connecticut|team=Connecticut Huskies|title=Connecticut}}|10|1|21|1}}

Revision as of 21:33, 9 May 2012

Usage

This template is the header for college basketball conference standings. It should be used in conjunction with the templates in the #See also section.

Fields for use (copy and paste text below and then fill in the fields)
{{CBB Standings Start| |}}

In order, the two blank fields available for use in the template are:

1: The name of the template. This is the name of the template, which will also appear as the title at the top of the template box.
2: (Optional) – the article to which the title bar of the template will link.

Examples

2008–09 Big East men's basketball standings
Conf     Overall
Team W   L   PCT     W   L   PCT
{{CBB Standings Start|2008–09 Big East men's basketball standings}}


2008–09 Big Ten men's basketball standings
Conf     Overall
Team W   L   PCT     W   L   PCT
{{CBB Standings Start|2008–09 Big Ten men's basketball standings|2008–09 Big Ten Conference men's basketball season}}

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