(fixed double redirect) |
m (Adding category to the page) |
||
Ligne 1 : | Ligne 1 : | ||
{{doc subpage}} | |||
<!-- ADD DOCUMENTATION BELOW THIS LINE --> | |||
This template enables the automatic selection of a forum for one of the United States or US Territories. | |||
== Usage == | |||
Place {{tl|RC/Forum}} on a page where a URL to a state or region forum is desired. It uses the data in {{tl|RC/Data}}. | |||
{{Pre2|<nowiki> | |||
{{RC/Forum | |||
| STATENAME or | |||
STATE ABBREVIATION or | |||
REGION NAME | |||
| state-id or | |||
region-id | |||
}}</nowiki> | |||
}} | |||
== 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 {{tl|RC/Data/Core}}. | |||
== Examples == | |||
{| | |||
| Entering: | |||
| {{Pre2|<nowiki> | |||
[{{RC/Forum | AK | state-id}} Alaska forum]</nowiki> | |||
}} | |||
|} | |||
Produces: [{{RC/Forum | AK | state-id}} Alaska forum] | |||
---- | |||
{| | |||
| Entering: | |||
| {{Pre2|<nowiki> | |||
[{{RC/Forum | Northwest | region-id}} Northwest region forum]</nowiki> | |||
}} | |||
|} | |||
Produces: [{{RC/Forum | Northwest | region-id}} Northwest region forum] | |||
== Related templates == | |||
{{RC/TemplateSuite}} | |||
<includeonly> | |||
<!-- ADD CATEGORIES BELOW THIS LINE --> | |||
[[Category:Templates for or part of the state template]] | |||
[[Category:Forum templates]] | |||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | |||
</includeonly> |
Version du 28 août 2016 à 11:09
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original modèle page. |
This template enables the automatic selection of a forum for one of the United States or US Territories.
Usage
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] |
Entering: | [{{RC/Forum | Northwest | region-id}} Northwest region forum] |
Related templates
This template suite also uses the following templates:
{{RC/Canada}}
- Link to Canadian Wiki page and forum{{RC/Province}}
- Link to Province Wiki page and forum{{RC/CommonProvince}}
- Default content for provincial pages if not already created{{RC/Forum}}
- Generates HTML link based on Province name and requested data{{RC/Data}}
- The database holding all the 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|NAME_OF_USER}}
to create user page and PM links.
{{PM|NAME_OF_USER}}
to create PM links.