BR Bullpen:Templates/Roster boxes

From BR Bullpen

This is a system for allowing boxes containing a team's roster to placed directly on a team's page without having them to be placed in a separate template. There are standard colors for the background, uniform numbers, and header rows.

The templates are based on the Expos roster series ({{1969Expos}} - {{2004Expos}}) by Exshpos (talk · contribs).

Templates used[edit]

The standardization consists of five templates.

  • {{roster-start}}, {{r-start}} or {{r-Start}}
  • {{roster-person}}, {{r-person}} or {{r-Person}}
  • {{roster-header}}, {{r-header}} or {{r-Header}}, {{r-head}} or {{r-Head}}
  • {{roster-note}}, {{r-note}} or {{r-Note}}
  • {{roster-end}}, {{r-end}} or {{r-End}}
  • {{R-StartImage}} - depreciated

The all but the first of the variants are redirects but are easier to remember and to type, and works just as well.

How to use[edit]

To use add each template on a new line at the top of the article (below any infobox). Use {{{1}}} to begin the roster listing and {{{1}}} to end the roster listing. The order of persons are first ordered by position (first managers, then coaches, then pitchers, then catchers, then infielders, and then outfielders), then by last or family name, then by first or given name, and then by uniform number.

{{roster-start}}
{{roster-person}}
{{roster-header}}
{{roster-person}}
{{roster-notes}}
{{roster-end}}

==Templates== {|class="toccolours" style="margin: 0; width:100%;" |-style="background:#BFD7FF; font-size:larger;" !Template!!Code!!Description |- |{{tl|roster-start}}||{{cnw|{{roster-start}}}}||Starts roster box |- |{{tl|roster-header}}||{{cnw|{{roster-header|head= header title}}}}||Adds a header row (for separation between managers, coaches, pitchers, catchers, infielders, and outfielders) |- |{{tl|roster-person}}||{{cnw|{{roster-person|uni= uniform number|name= person's name|symbol= ref number}}}}||Adds a row for a person with uniform number and, if applicable, a footnote symbol (using {{tl|ref}} and {{tl|roster-note}}) |- |{{tl|roster-note}}||{{cnw|{{roster-note|symbol= ref number|name= person's name|reason= reason for note}}}}||Adds a row for a footnote |- |{{tl|roster-end}}||{{cnw|r-end}}||Ends roster box |}

Examples[edit]