Template:RC/Forum/doc View history

Revision as of 17:25, 9 July 2014 by MediaWiki default (talk) (added template)
This is a documentation subpage for Template:RC/Forum.
It contains usage information, categories and other content that is not part of the original template page.

This template enables the automatic selection of a forum for one of the United States or US Territories.

Usage

Place {{RC/Forum}} on a page where a URL to a state or region forum is desired. It uses the data in {{RC/Data}}.

{{RC/Forum
| STATENAME or 
  STATE ABBREVIATION or
  REGION NAME
| state-id or 
  region-id
}}

Parameters

First parameter
STATENAME - The full name of the state or territory (Alaska, California, Texas, etc.)
STATE ABBREVIATION - The two letter state abbreviation (AK, CA, TX, etc.)
REGION NAME - The full name of the region (Northwest, New England, etc.)
Second parameter
state-id will return a URL to the state specific forum.
region-id will return a URL to the region specific forum.
(Note: the parameters are maintained in {{RC/Data/Core}}.

Examples

Entering:
[{{RC/Forum | AK | state-id}} Alaska forum]

Produces: Alaska forum


Entering:
[{{RC/Forum | Northwest | region-id}} Northwest region forum]

Produces: Northwest region forum

Related templates

This template suite also uses the following templates:

  • {{RC/USA}} - Link to USA Wiki page and forum
  • {{RC/Region}} - Link to Region Wiki page and forum
  • {{RC/CommonRegion}} - Default content for regional pages if not already created
  • {{RC/Forum}} - Generates HTML link based on Region name and requested data
  • {{RC/Data}} - The database holding all the regional coordinator related data
  • {{RC/Data/Core}} - The translation of text for parameters to the {{RC/Data}} content
  • {{RC/TableRow}} - Generates the main content for the RC table
  • {{Username}} to create user page and PM links.
  • {{PM}} to create PM links.