Difference between revisions of "Template:AFB game box scoring entry/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
blackwiki>Hoof Hearted
(+documentation for QuarterEntries parameter)
Line 8: Line 8:
 
When combined, the three templates will provide a thorough box score for an [[American football]] game.
 
When combined, the three templates will provide a thorough box score for an [[American football]] game.
  
;All fields (copy and paste text below and then delete parameters that aren't needed):<code><nowiki>{{AFB game box scoring entry |FirstEntry= |Quarter= |Time= |Team= |Event= |Score= |LastEntry=}}
+
;All fields (copy and paste text below and then delete parameters that aren't needed):<code><nowiki>{{AFB game box scoring entry |FirstEntry= |Quarter= |QuarterEntries= |Time= |Team= |Event= |Score= |LastEntry=}}
 
</nowiki></code>
 
</nowiki></code>
  
Line 15: Line 15:
 
* '''FirstEntry''': Enter "yes" if recording the first score of the game.
 
* '''FirstEntry''': Enter "yes" if recording the first score of the game.
 
* '''Quarter''': the quarter in which the score occurred. Example: Q1 for the first quarter.
 
* '''Quarter''': the quarter in which the score occurred. Example: Q1 for the first quarter.
 +
* '''QuarterEntries''': the number of scores to be grouped within the quarter (omits the horizontal line between scores).  Leave "Quarter" undefined for the subsequent scores in the same quarter.
 
* '''Time''': Time remaining in the quarter at the time of the score.
 
* '''Time''': Time remaining in the quarter at the time of the score.
 
* '''Team''': Abbreviation of the team that scored.
 
* '''Team''': Abbreviation of the team that scored.

Revision as of 15:51, 15 October 2019

Usage

This template {{AFB game box scoring entry}} is to be used in conjunction with two other templates: it must be preceded by {{AFB game box start}} and must be followed by {{AFB game box end}}.

When combined, the three templates will provide a thorough box score for an American football game.

All fields (copy and paste text below and then delete parameters that aren't needed)
{{AFB game box scoring entry |FirstEntry= |Quarter= |QuarterEntries= |Time= |Team= |Event= |Score= |LastEntry=}}

Parameters legend

  • FirstEntry: Enter "yes" if recording the first score of the game.
  • Quarter: the quarter in which the score occurred. Example: Q1 for the first quarter.
  • QuarterEntries: the number of scores to be grouped within the quarter (omits the horizontal line between scores). Leave "Quarter" undefined for the subsequent scores in the same quarter.
  • Time: Time remaining in the quarter at the time of the score.
  • Team: Abbreviation of the team that scored.
  • Event: Brief description of the scoring play. (Examples: "Santonio Holmes 6 yard pass from Ben Roethlisberger (Jeff Reed kick)" or "28 yard field goal by Stephen Gostkowski")
  • Score: The abbreviation of the leading team followed by the score of the game. (Example: USC 14–10 or Pitt 13–9 or NYG 17–14)
  • LastEntry: Enter "yes" if recording the last score of the game.

See also