Template:RC/Forum View history

(New page with changes from old Template:StateForum)
 
(Fixed display)
 
Line 1: Line 1:
<!--{{{1}}} is the region or state name
<!--{{{1}}} is the region or state name
----{{{2}}} is the field needed from the dataset
----{{{2}}} is the field needed from the dataset
-->http://www.waze.com/forum/viewforum.php?f={{RC/Data|{{{1|}}}|{{{2|}}}}}<noinclude>{{documentation}}<!--  
--><includeonly>http://www.waze.com/forum/viewforum.php?f={{RC/Data|{{{1|}}}|{{{2|}}}}}</includeonly><noinclude>{{documentation}}<!--  


Add categories and interwikis to the /doc subpage, not here!  
Add categories and interwikis to the /doc subpage, not here!  
--></noinclude>
--></noinclude>

Latest revision as of 22:47, 8 July 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

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.
The above documentation is transcluded from Template:RC/Forum/doc.
Please add categories to the /doc subpage.
Subpages of this template.