Template:RC/Data View history

(typo)
(No break space)
Line 12: Line 12:
----
----
--><includeonly><!--includeonly here prevents error display on the template page when viewed directly -->{{#switch: {{{1}}}
--><includeonly><!--includeonly here prevents error display on the template page when viewed directly -->{{#switch: {{{1}}}
| Northwest = {{RC/Data/Core|{{{2|}}}|region|565|AlanOfTheBerg||[[AK]]/[[ID]]/[[MT]]/[[OR]]/[[WA]]/[[WY]]|[[Alaska]] / [[Idaho]] / [[Montana]] / [[Oregon]] / [[Washington]] / [[Wyoming]]}}
| Northwest = {{RC/Data/Core|{{{2|}}}|region|565|AlanOfTheBerg||[[AK]]/[[ID]]/[[MT]]/[[OR]]/[[WA]]/[[WY]]|[[Alaska]]&nbsp;/ [[Idaho]]&nbsp;/ [[Montana]]&nbsp;/ [[Oregon]]&nbsp;/ [[Washington]]&nbsp;/ [[Wyoming]]}}
| AK|Alaska = {{RC/Data/Core|{{{2|}}}|state|254|Northwest}}
| AK|Alaska = {{RC/Data/Core|{{{2|}}}|state|254|Northwest}}
| ID|Idaho = {{RC/Data/Core|{{{2|}}}|state|648|Northwest}}
| ID|Idaho = {{RC/Data/Core|{{{2|}}}|state|648|Northwest}}
Line 20: Line 20:
| WY|Wyoming = {{RC/Data/Core|{{{2|}}}|state|650|Northwest}}
| WY|Wyoming = {{RC/Data/Core|{{{2|}}}|state|650|Northwest}}
<!---->
<!---->
| Southwest = {{RC/Data/Core|{{{2|}}}|region|566|jemay||[[AZ]]/[[CA]]/[[CO]]/[[HI]]/[[NV]]/[[NM]]/[[UT]]|[[Arizona]] / [[California]] / [[Colorado]] / [[Hawaii]] / [[Nevada]] / [[New Mexico]] / [[Utah]]}}
| Southwest = {{RC/Data/Core|{{{2|}}}|region|566|jemay||[[AZ]]/[[CA]]/[[CO]]/[[HI]]/[[NV]]/[[NM]]/[[UT]]|[[Arizona]]&nbsp;/ [[California]]&nbsp;/ [[Colorado]]&nbsp;/ [[Hawaii]]&nbsp;/ [[Nevada]]&nbsp;/ [[New&nbsp;Mexico]]&nbsp;/ [[Utah]]}}
| AZ|Arizona = {{RC/Data/Core|{{{2|}}}|state|652|Southwest}}
| AZ|Arizona = {{RC/Data/Core|{{{2|}}}|state|652|Southwest}}
| CA|California = {{RC/Data/Core|{{{2|}}}|state|251|Southwest}}
| CA|California = {{RC/Data/Core|{{{2|}}}|state|251|Southwest}}
Line 29: Line 29:
| UT|Utah = {{RC/Data/Core|{{{2|}}}|364|state|Southwest}}
| UT|Utah = {{RC/Data/Core|{{{2|}}}|364|state|Southwest}}
<!---->
<!---->
| Plains = {{RC/Data/Core|{{{2|}}}|region|567|the1who||[[IA]]/[[KS]]/[[MN]]/[[MO]]/[[NE]]/[[ND]]/[[SD]]|[[Iowa]] / [[Kansas]] / [[Minnesota]] / [[Missouri]] / [[Nebraska]] / [[North Dakota]] / [[South Dakota]]}}
| Plains = {{RC/Data/Core|{{{2|}}}|region|567|the1who||[[IA]]/[[KS]]/[[MN]]/[[MO]]/[[NE]]/[[ND]]/[[SD]]|[[Iowa]]&nbsp;/ [[Kansas]]&nbsp;/ [[Minnesota]]&nbsp;/ [[Missouri]]&nbsp;/ [[Nebraska]]&nbsp;/ [[North&nbsp;Dakota]]&nbsp;/ [[South&nbsp;Dakota]]}}
| IA|Iowa = {{RC/Data/Core|{{{2|}}}|state|632|Plains}}
| IA|Iowa = {{RC/Data/Core|{{{2|}}}|state|632|Plains}}
| KS|Kansas = {{RC/Data/Core|{{{2|}}}|state|628|Plains}}
| KS|Kansas = {{RC/Data/Core|{{{2|}}}|state|628|Plains}}
Line 38: Line 38:
| SD|South Dakota = {{RC/Data/Core|{{{2|}}}|state|626|Plains}}
| SD|South Dakota = {{RC/Data/Core|{{{2|}}}|state|626|Plains}}
<!---->
<!---->
| South Central = {{RC/Data/Core|{{{2|}}}|region|568|Jasonh300|txemt|[[AR]]/[[LA]]/[[MS]]/[[OK]]/[[TX]]|[[Arkansas]] / [[Louisiana]] / [[Mississippi]] / [[Oklahoma]] / [[Texas]]}}
| South Central = {{RC/Data/Core|{{{2|}}}|region|568|Jasonh300|txemt|[[AR]]/[[LA]]/[[MS]]/[[OK]]/[[TX]]|[[Arkansas]]&nbsp;/ [[Louisiana]]&nbsp;/ [[Mississippi]]&nbsp;/ [[Oklahoma]]&nbsp;/ [[Texas]]}}
| AR|Arkansas = {{RC/Data/Core|{{{2|}}}|state|598|South Central}}
| AR|Arkansas = {{RC/Data/Core|{{{2|}}}|state|598|South Central}}
| LA|Louisiana = {{RC/Data/Core|{{{2|}}}|state|594|South Central}}
| LA|Louisiana = {{RC/Data/Core|{{{2|}}}|state|594|South Central}}
Line 45: Line 45:
| TX|Texas = {{RC/Data/Core|{{{2|}}}|state|237|South Central}}
| TX|Texas = {{RC/Data/Core|{{{2|}}}|state|237|South Central}}
<!---->
<!---->
| Great Lakes = {{RC/Data/Core|{{{2|}}}|region|943|GizmoGuy411||[[IL]]/[[IN]]/[[MI]]/[[OH]]/[[WI]]|[[Illinois]] / [[Indiana]] / [[Michigan]] / [[Ohio]] / [[Wisconsin]]}}
| Great Lakes = {{RC/Data/Core|{{{2|}}}|region|943|GizmoGuy411||[[IL]]/[[IN]]/[[MI]]/[[OH]]/[[WI]]|[[Illinois]]&nbsp;/ [[Indiana]]&nbsp;/ [[Michigan]]&nbsp;/ [[Ohio]]&nbsp;/ [[Wisconsin]]}}
| IL|Illinois = {{RC/Data/Core|{{{2|}}}|state|253|Great Lakes}}
| IL|Illinois = {{RC/Data/Core|{{{2|}}}|state|253|Great Lakes}}
| IN|Indiana = {{RC/Data/Core|{{{2|}}}|state|631|Great Lakes}}
| IN|Indiana = {{RC/Data/Core|{{{2|}}}|state|631|Great Lakes}}
Line 52: Line 52:
| WI|Wisconsin = {{RC/Data/Core|{{{2|}}}|state|387|Great Lakes}}
| WI|Wisconsin = {{RC/Data/Core|{{{2|}}}|state|387|Great Lakes}}
<!---->
<!---->
| South Atlantic = {{RC/Data/Core|{{{2|}}}|region|570|HavanaDay|WeeeZer14|[[KY]]/[[NC]]/[[SC]]/[[TN]]|[[Kentucky]] / [[North Carolina]] / [[South Carolina]] / [[Tennessee]]}}
| South Atlantic = {{RC/Data/Core|{{{2|}}}|region|570|HavanaDay|WeeeZer14|[[KY]]/[[NC]]/[[SC]]/[[TN]]|[[Kentucky]]&nbsp;/ [[North&nbsp;Carolina]]&nbsp;/ [[South&nbsp;Carolina]]&nbsp;/ [[Tennessee]]}}
| KY|Kentucky = {{RC/Data/Core|{{{2|}}}|state|571|South Atlantic}}
| KY|Kentucky = {{RC/Data/Core|{{{2|}}}|state|571|South Atlantic}}
| NC|North Carolina = {{RC/Data/Core|{{{2|}}}|state|255|South Atlantic}}
| NC|North Carolina = {{RC/Data/Core|{{{2|}}}|state|255|South Atlantic}}
Line 58: Line 58:
| TN|Tennessee = {{RC/Data/Core|{{{2|}}}|state|210|South Atlantic}}
| TN|Tennessee = {{RC/Data/Core|{{{2|}}}|state|210|South Atlantic}}
<!---->
<!---->
| Southeast = {{RC/Data/Core|{{{2|}}}|region|944|banished||[[AL]]/[[FL]]/[[GA]]|[[Alabama]] / [[Florida]] / [[Georgia]]}}
| Southeast = {{RC/Data/Core|{{{2|}}}|region|944|banished||[[AL]]/[[FL]]/[[GA]]|[[Alabama]]&nbsp;/ [[Florida]]&nbsp;/ [[Georgia]]}}
| AL|Alabama = {{RC/Data/Core|{{{2|}}}|state|213|Southeast}}
| AL|Alabama = {{RC/Data/Core|{{{2|}}}|state|213|Southeast}}
| FL|Florida = {{RC/Data/Core|{{{2|}}}|state|193|Southeast}}
| FL|Florida = {{RC/Data/Core|{{{2|}}}|state|193|Southeast}}
| GA|Georgia = {{RC/Data/Core|{{{2|}}}|state|214|Southeast}}
| GA|Georgia = {{RC/Data/Core|{{{2|}}}|state|214|Southeast}}
<!---->
<!---->
| New England = {{RC/Data/Core|{{{2|}}}|region|945|orbitc||[[CT]]/[[ME]]/[[MA]]/[[NH]]/[[RI]]/[[VT]]|[[Connecticut]] / [[Maine]] / [[Massachusetts]] / [[New Hampshire]] / [[Rhode Island]] / [[Vermont]]}}
| New England = {{RC/Data/Core|{{{2|}}}|region|945|orbitc||[[CT]]/[[ME]]/[[MA]]/[[NH]]/[[RI]]/[[VT]]|[[Connecticut]]&nbsp;/ [[Maine]]&nbsp;/ [[Massachusetts]]&nbsp;/ [[New&nbsp;Hampshire]]&nbsp;/ [[Rhode&nbsp;Island]]&nbsp;/ [[Vermont]]}}
| CT|Connecticut = {{RC/Data/Core|{{{2|}}}|state|247|New England}}
| CT|Connecticut = {{RC/Data/Core|{{{2|}}}|state|247|New England}}
| ME|Maine = {{RC/Data/Core|{{{2|}}}|state|583|New England}}
| ME|Maine = {{RC/Data/Core|{{{2|}}}|state|583|New England}}
Line 71: Line 71:
| VT|Vermont = {{RC/Data/Core|{{{2|}}}|state|587|New England}}
| VT|Vermont = {{RC/Data/Core|{{{2|}}}|state|587|New England}}
<!---->
<!---->
| Northeast = {{RC/Data/Core|{{{2|}}}|region|569|orbitc||[[DE]]/[[NJ]]/[[NY]]/[[PA]]|[[Delaware]] / [[New Jersey]] / [[New York]] / [[Pennsylvania]]}}
| Northeast = {{RC/Data/Core|{{{2|}}}|region|569|orbitc||[[DE]]/[[NJ]]/[[NY]]/[[PA]]|[[Delaware]]&nbsp;/ [[New&nbsp;Jersey]]&nbsp;/ [[New&nbsp;York]]&nbsp;/ [[Pennsylvania]]}}
| DE|Delaware = {{RC/Data/Core|{{{2|}}}|state|575|Northeast}}
| DE|Delaware = {{RC/Data/Core|{{{2|}}}|state|575|Northeast}}
| NJ|New Jersey = {{RC/Data/Core|{{{2|}}}|state|249|Northeast}}
| NJ|New Jersey = {{RC/Data/Core|{{{2|}}}|state|249|Northeast}}
Line 77: Line 77:
| PA|Pennsylvania = {{RC/Data/Core|{{{2|}}}|state|215|Northeast}}
| PA|Pennsylvania = {{RC/Data/Core|{{{2|}}}|state|215|Northeast}}
<!---->
<!---->
| Mid Atlantic = {{RC/Data/Core|{{{2|}}}|region|946|CBenson||[[DC]]/[[MD]]/[[VA]]/[[WV]]|[[District of Columbia]] / [[Maryland]] / [[Virginia]] / [[West Virginia]]}}
| Mid Atlantic = {{RC/Data/Core|{{{2|}}}|region|946|CBenson||[[DC]]/[[MD]]/[[VA]]/[[WV]]|[[District&nbsp;of&nbsp;Columbia]]&nbsp;/ [[Maryland]]&nbsp;/ [[Virginia]]&nbsp;/ [[West&nbsp;Virginia]]}}
| DC|Washington DC|District of Columbia = {{RC/Data/Core|{{{2|}}}|district|258|946|Mid Atlantic}}
| DC|Washington DC|District of Columbia = {{RC/Data/Core|{{{2|}}}|district|258|946|Mid Atlantic}}
| MD|Maryland = {{RC/Data/Core|{{{2|}}}|state|246|Mid Atlantic}}
| MD|Maryland = {{RC/Data/Core|{{{2|}}}|state|246|Mid Atlantic}}
Line 83: Line 83:
| WV|West Virginia = {{RC/Data/Core|{{{2|}}}|state|282|Mid Atlantic}}
| WV|West Virginia = {{RC/Data/Core|{{{2|}}}|state|282|Mid Atlantic}}
<!---->
<!---->
| Territories = {{RC/Data/Core|{{{2|}}}|region|953|txemt||[[AS]]/[[GU]]/[[MP]]/[[PR]]/[[VI]]|[[American Samoa]] / [[Guam]] / [[Northern Mariana Islands]] / [[Puerto Rico]] / [[Virgin Islands]]}}
| Territories = {{RC/Data/Core|{{{2|}}}|region|953|txemt||[[AS]]/[[GU]]/[[MP]]/[[PR]]/[[VI]]|[[American&nbsp;Samoa]]&nbsp;/ [[Guam]]&nbsp;/ [[Northern&nbsp;Mariana&nbsp;Islands]]&nbsp;/ [[Puerto&nbsp;Rico]]&nbsp;/ [[Virgin&nbsp;Islands]]}}
| PR|Puerto Rico = {{RC/Data/Core|{{{2|}}}|territory|202|Territories}}
| PR|Puerto Rico = {{RC/Data/Core|{{{2|}}}|territory|202|Territories}}
| VI|Virgin Islands = {{RC/Data/Core|{{{2|}}}|territory|677|Territories}}
| VI|Virgin Islands = {{RC/Data/Core|{{{2|}}}|territory|677|Territories}}
Line 92: Line 92:
<!---->
<!---->
<!-- This below is for the CommonState template pages when viewed directly -->
<!-- This below is for the CommonState template pages when viewed directly -->
| Testing|RC|CommonRegion|RC/CommonRegion = {{RC/Data/Core|{{{2|}}}|region|192|UserName1|UserName2|[[XX]]/[[YY]]|[[XXXX]] / [[YYYY]]}}
| Testing|RC|CommonRegion|RC/CommonRegion = {{RC/Data/Core|{{{2|}}}|region|192|UserName1|UserName2|[[XX]]/[[YY]]|[[XXXX]]&nbsp;/ [[YYYY]]}}
| TestState|USA|CommonState|Intro|Forum|USA/CommonState
| TestState|USA|CommonState|Intro|Forum|USA/CommonState
  = {{RC/Data/Core|{{{2|}}}|state|192|Testing}}
  = {{RC/Data/Core|{{{2|}}}|state|192|Testing}}

Revision as of 06:20, 26 July 2014

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

This template is a part of a suite of subpage templates (listed below) used for the Regional Coordinator table.

This template serves as a lookup table for the Regional and State/Territory forums mainly in the USA. It could be modified to work for other countries, but currently does not.

Usage

This content is used directly and also through the {{RC/Forum}} template.

Examples

Examples for pagename California
Template Result
{{RootPage2}} California
{{RC/Data|{{RootPage2}}|region-name}} Southwest
{{RC/Data|{{RC/Data|{{RootPage2}}|region-name}}|state-list-long}} Arizona / California / Colorado / Hawaii / Nevada / New Mexico / Utah

Content

The content of the page is a lookup table that uses the switch parser function. The order of the content only serves to make it easier to maintain, but does not affect the operation of the template. The names on the left of the = are what is being looked up and are all case sensitive. Multiple spelling variants can be listed separated by | as seen with the state lines.

Each lookup entry uses the {{RC/Data/Core}} code to select one of many data sets to return. Regions return different data than states.

Each region is grouped with the region and the associated states.

| Southeast = {{RC/Data/Core|{{{2|}}}|944|JoeUsername|JimUsername|[[AL]]/[[FL]]/[[GA]]|[[Alabama]] / [[Florida]] / [[Georga]]}}
| AL|Alabama = {{RC/Data/Core|{{{2|}}}|213|Southeast}}
| FL|Florida = {{RC/Data/Core|{{{2|}}}|193|Southeast}}
| GA|Georga = {{RC/Data/Core|{{{2|}}}|214|Southeast}}

The region lines (Southeast example) can return one of two regional coordinators text names, the ID for the regional forum, a short list or long list of states for that region in hyperlink format.

The state lines (AL/Alabama example) can return the ID for the state forum or a text name with the region.

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