Template:NewsTournament

From NBA 2K Esports Wiki
Jump to: navigation, search

Cargo Declaration

This template adds rows to the table "News", which is declared by the template News/CargoDec. View table.
(view - edit)

Documentation

Accepts four arguments:

  • |tournament= - The short name of the tournament as used in {{LeagueIconSmall}}
  • |link= - The full page title of the tournament overview
  • |region= - An undisplayed argument used to define Property:News Region
  • |text= - The text of the news item

Requires variables defined elsewhere:

  • {{#var:year}} - The 4-digit year (defined at the top of the news page)
  • {{#var:month}} - The 2-digit month (defined in {{NewsDate}}
  • {{#var:day}} - The 2-digit day (defined in {{NewsDate}}
  • {{#var:N}} - An index of news items that happened that day (defined initially in {{NewsDate}} and then self-increments)

This template is ONLY meant to be used on Project:News and its archive pages, nowhere else!

See Also