Template:NLL game log/doc

From English Wikipedia @ Freddythechick

Syntax

Full template

<syntaxhighlight lang="wikitext">

Game Date Opponent Location Score OT Attendance Record

</syntaxhighlight>

Explanation of fields

<syntaxhighlight lang="wikitext">

Game Date Opponent Location Score OT Attendance Record

</syntaxhighlight>

The template is deigned to handle 20 games. Replace the # above with the any number from 1-20 as necessary.

Mandatory fields

<syntaxhighlight lang="wikitext">

Game Date Opponent Location Score OT Attendance Record

</syntaxhighlight>

The opponent name and/or link is all that is necessary to add the game to the schedule.

Data checking

There is absolute no data verification. If a parameter is not included, it is given a default value. However, if you include an improper value (e.g.: "eight" instead of 8 for a numerical parameter), it will most likely break the template. Ensure that all values input show up as expected when template is used.

Calculations

The record of the team is calculated on the fly.

Blank Templates

These are blank templates that can be used for creating a new season based upon the current NLL format.

Regular Season

<syntaxhighlight lang="wikitext">Reference:[1]

Game Date Opponent Location Score OT Attendance Record

</syntaxhighlight>

Playoff

<syntaxhighlight lang="wikitext">Reference:[2]

Game Date Opponent Location Score OT Attendance Record

</syntaxhighlight>


  1. ^ NLL.com. {{cite web}}: Missing or empty |title= (help); Missing or empty |url= (help)
  2. ^ NLL.com. {{cite web}}: Missing or empty |title= (help); Missing or empty |url= (help)