Jump to content

Template:US insular area sports decade category/doc

From Wikipedia, the free encyclopedia

This template is used to create by-decade categories for sports in one of the insular areas of the United States,

e.g. Category:1990s in Guamanian sports.

Adds portal box, category explanation, navbox, and parent categories:

Usage

[edit]

{{US insular area sports decade category}}

No parameters are needed. The template parses the pagename, and extracts from it the year and name of the insular area.

Error-checking

[edit]

The template checks that the page:

  1. is a category
  2. has a title of the form "YYY0s in Fooian sports"
  3. That "Fooian" is one of:
    • Guamanian
    • Puerto Rican
    • Northern Mariana Islands
    • United States Virgin Islands

If any of those conditions is not met, an error message is displayed and no other output is generated, but the page is added to a tracking category:

Purge this page to update the totals

See also

[edit]