Template:NHL Schedule Entry/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:NHL Schedule Entry (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Contents

[edit] Usage

This template is the footer for an NHL schedule. It should be used in conjunction with the templates in the #See also section. See an example of a full schedule at .

[edit] Detail

{{MLB Schedule Entry
| number       = game number
| w/l          = w if the game was won, l if lost, so if shootout loss, blank if game hasn't occurred yet; lowercase
| date         = date of the game
| away         = 'yes' if this is an away game
| opponent     = the name of the opponent played
| score        = final score of the game; use dash (–) instead of hypen
| overtime     = if the game went into overtime (i.e. 'OT' or '2OT')
| decision     = goaltender with decision
| attend       = the attendence of the game; will not display by default (if blank) so for games not played, use "N/A"
| record       = win-loss record of team; use dash (–) instead of hyphen
| points       = number of points
}}

[edit] Blank

{{MLB Schedule Entry
| number       =
| date         =  
| w/l          = 
| away         = 
| opponent     = 
| score        = 
| overtime     =
| decision     =
| attend       =
| record       =
| points       =
}}

or

{{MLB Schedule Entry|number=|date=|w/l=|time=|away=|opponent=|score=|overtime=|decision=|attend=|record=|points=}}

[edit] Examples

The appearance of these templates will be different when used appropriately with the header and footer templates in the #See also section. These examples are to describe different use options.

[edit] Example 1

{{NHL Schedule Start}}
{{NHL Schedule Entry
| number       = 1
| date         = [[October 5]]
| w/l          = l
| away         = yes
| opponent     = [[Dallas Stars|Dallas]]
| score        = 4–1
| overtime     =
| decision     = [[Emmanuel Fernandez|Fernandez]]
| attend       = 18,532
| record       = 0–1–0
| points       = 0
}}
{{NHL Schedule Entry
| number       = 2
| date         = [[October 6]]
| w/l          = w
| away         = 
| opponent     = [[Phoenix Coyotes|Phoenix]]
| score        = 3–1
| overtime     =
| decision     = [[Tim Thomas (ice hockey)|Thomas]]
| attend       = N/A
| record       = 1–1–0
| points       = 2
}}
{{NHL Schedule Entry
| number       = 3
| date         = [[October 22]]
| w/l          = so
| away         = 
| opponent     = [[Phoenix Coyotes|Phoenix]]
| score        = 3–2
| overtime     = so
| decision     = [[Tim Thomas (ice hockey)|Thomas]]
| attend       = N/A
| record       = 1–1–1
| points       = 3
}}
# Date Opponent Score Decision Attendance Record Points
1 October 5 Dallas  4–1  Fernandez 18,532 0–1–0 0
2 October 6 Phoenix  3–1  Thomas N/A 1–1–0 2
3 October 22 Phoenix  3–2 so Thomas N/A 1–1–1 3

[edit] See also

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.