Diferencia entre revisiones de «Plantilla:RC/Forum/doc Ver historial

m (Created Redirect)
 
(Página creada con «{{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. == Usag...»)
 
Línea 1: Línea 1:
#REDIRECT [[Glossary#Dead-end_Node]]
{{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>

Revisión actual - 18:10 15 ago 2017

This is a documentation subpage for Plantilla:RC/Forum.
It contains usage information, categories and other content that is not part of the original plantilla 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|NAME_OF_USER}} to create user page and PM links.
  • {{PM|NAME_OF_USER}} to create PM links.