Template:RC/Forum/doc View history

Revision as of 19:41, 8 July 2014 by Kentsmith9 (talk | contribs) (Initial doc creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 | AK | region-id}} {{RC/Forum | AK | region-name}} region forum]

Produces: http://www.waze.com/forum/viewforum.php?f=Northwest region forum


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

Produces: Northwest region forum