Template:RC/Forum/doc View history

(Initial doc creation)
 
(→‎Examples: Dropped old example)
Line 36: Line 36:
|}
|}
Produces: [{{RC/Forum | AK | state-id}} Alaska forum]
Produces: [{{RC/Forum | AK | state-id}} Alaska forum]
----
{|
| Entering:
| {{Pre2|<nowiki>
[{{RC/Forum | AK | region-id}} {{RC/Forum | AK | region-name}} region forum]</nowiki>
}}
|}
Produces: [{{RC/Forum | AK | region-id}} {{RC/Forum | AK | region-name}} region forum]
----
----
{|
{|

Revision as of 22:45, 8 July 2014

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