Kentsmith9 (talk | contribs) (fixed spelling) |
Kentsmith9 (talk | contribs) (Updated for long state list and RCs) |
||
Line 1: | Line 1: | ||
{{#switch: {{{1}}} | <!-- Territory = regional-coordinator | region-id | state-list | state-list-long | ||
| Northwest = {{StateForum/Core|{{{2|}}}|[[AK]]/[[ID]]/[[MT]]/[[OR]]/[[WA]]/[[WY]]| | |||
---- State = state-id | region-id | region-name | |||
-->{{#switch: {{{1}}} | |||
| Northwest = {{StateForum/Core|{{{2|}}}|AlanOfTheBerg|565|[[AK]]/[[ID]]/[[MT]]/[[OR]]/[[WA]]/[[WY]]|[[Alaska]] / [[Idaho]] / [[Montana]] / [[Oregon]] / [[Washington]] / [[Wyoming]]}} | |||
| AK|Alaska = {{StateForum/Core|{{{2|}}}|254|565|Northwest}} | | AK|Alaska = {{StateForum/Core|{{{2|}}}|254|565|Northwest}} | ||
| ID|Idaho = {{StateForum/Core|{{{2|}}}|648|565|Northwest}} | | ID|Idaho = {{StateForum/Core|{{{2|}}}|648|565|Northwest}} | ||
Line 8: | Line 12: | ||
| WY|Wyoming = {{StateForum/Core|{{{2|}}}|650|565|Northwest}} | | WY|Wyoming = {{StateForum/Core|{{{2|}}}|650|565|Northwest}} | ||
| Southwest = {{StateForum/Core|{{{2|}}}|[[AZ]]/[[CA]]/[[CO]]/[[HI]]/[[NV]]/[[NM]]/[[UT]]| | | Southwest = {{StateForum/Core|{{{2|}}}||566|[[AZ]]/[[CA]]/[[CO]]/[[HI]]/[[NV]]/[[NM]]/[[UT]]|}} | ||
| AZ|Arizona = {{StateForum/Core|{{{2|}}}|652|566|Southwest}} | | AZ|Arizona = {{StateForum/Core|{{{2|}}}|652|566|Southwest}} | ||
| CA|California = {{StateForum/Core|{{{2|}}}|251|566|Southwest}} | | CA|California = {{StateForum/Core|{{{2|}}}|251|566|Southwest}} | ||
Line 17: | Line 21: | ||
| UT|Utah = {{StateForum/Core|{{{2|}}}|364|566|Southwest}} | | UT|Utah = {{StateForum/Core|{{{2|}}}|364|566|Southwest}} | ||
| Plains = {{StateForum/Core|{{{2|}}}|[[IA]]/[[KS]]/[[MN]]/[[MO]]/[[NE]]/[[ND]]/[[SD]]| | | Plains = {{StateForum/Core|{{{2|}}}||567|[[IA]]/[[KS]]/[[MN]]/[[MO]]/[[NE]]/[[ND]]/[[SD]]|}} | ||
| IA|Iowa = {{StateForum/Core|{{{2|}}}|632|567|Plains}} | | IA|Iowa = {{StateForum/Core|{{{2|}}}|632|567|Plains}} | ||
| KS|Kansas = {{StateForum/Core|{{{2|}}}|628|567|Plains}} | | KS|Kansas = {{StateForum/Core|{{{2|}}}|628|567|Plains}} | ||
Line 26: | Line 30: | ||
| SD|South Dakota = {{StateForum/Core|{{{2|}}}|626|567|Plains}} | | SD|South Dakota = {{StateForum/Core|{{{2|}}}|626|567|Plains}} | ||
| South Central = {{StateForum/Core|{{{2|}}}|[[AR]]/[[LA]]/[[MS]]/[[OK]]/[[TX]]| | | South Central = {{StateForum/Core|{{{2|}}}||568|[[AR]]/[[LA]]/[[MS]]/[[OK]]/[[TX]]|}} | ||
| AR|Arkansas = {{StateForum/Core|{{{2|}}}|598|568|South Central}} | | AR|Arkansas = {{StateForum/Core|{{{2|}}}|598|568|South Central}} | ||
| LA|Louisiana = {{StateForum/Core|{{{2|}}}|594|568|South Central}} | | LA|Louisiana = {{StateForum/Core|{{{2|}}}|594|568|South Central}} | ||
Line 33: | Line 37: | ||
| TX|Texas = {{StateForum/Core|{{{2|}}}|237|568|South Central}} | | TX|Texas = {{StateForum/Core|{{{2|}}}|237|568|South Central}} | ||
| Great Lakes = {{StateForum/Core|{{{2|}}}|[[IL]]/[[IN]]/[[MI]]/[[OH]]/[[WI]]| | | Great Lakes = {{StateForum/Core|{{{2|}}}||943|[[IL]]/[[IN]]/[[MI]]/[[OH]]/[[WI]]|}} | ||
| IL|Illinois = {{StateForum/Core|{{{2|}}}|253|943|Great Lakes}} | | IL|Illinois = {{StateForum/Core|{{{2|}}}|253|943|Great Lakes}} | ||
| IN|Indiana = {{StateForum/Core|{{{2|}}}|631|943|Great Lakes}} | | IN|Indiana = {{StateForum/Core|{{{2|}}}|631|943|Great Lakes}} | ||
Line 40: | Line 44: | ||
| WI|Wisconsin = {{StateForum/Core|{{{2|}}}|387|943|Great Lakes}} | | WI|Wisconsin = {{StateForum/Core|{{{2|}}}|387|943|Great Lakes}} | ||
| South Atlantic = {{StateForum/Core|{{{2|}}}|[[KY]]/[[NC]]/[[SC]]/[[TN]]| | | South Atlantic = {{StateForum/Core|{{{2|}}}||570|[[KY]]/[[NC]]/[[SC]]/[[TN]]|}} | ||
| KY|Kentucky = {{StateForum/Core|{{{2|}}}|571|570|South Atlantic}} | | KY|Kentucky = {{StateForum/Core|{{{2|}}}|571|570|South Atlantic}} | ||
| NC|North Carolina = {{StateForum/Core|{{{2|}}}|255|570|South Atlantic}} | | NC|North Carolina = {{StateForum/Core|{{{2|}}}|255|570|South Atlantic}} | ||
Line 46: | Line 50: | ||
| TN|Tennessee = {{StateForum/Core|{{{2|}}}|210|570|South Atlantic}} | | TN|Tennessee = {{StateForum/Core|{{{2|}}}|210|570|South Atlantic}} | ||
| Southeast = {{StateForum/Core|{{{2|}}}|[[AL]]/[[FL]]/[[GA]]| | | Southeast = {{StateForum/Core|{{{2|}}}||944|[[AL]]/[[FL]]/[[GA]]|}} | ||
| AL|Alabama = {{StateForum/Core|{{{2|}}}|213|944|Southeast}} | | AL|Alabama = {{StateForum/Core|{{{2|}}}|213|944|Southeast}} | ||
| FL|Florida = {{StateForum/Core|{{{2|}}}|193|944|Southeast}} | | FL|Florida = {{StateForum/Core|{{{2|}}}|193|944|Southeast}} | ||
| GA|Georga = {{StateForum/Core|{{{2|}}}|214|944|Southeast}} | | GA|Georga = {{StateForum/Core|{{{2|}}}|214|944|Southeast}} | ||
| New England = {{StateForum/Core|{{{2|}}}|[[CT]]/[[ME]]/[[MA]]/[[NH]]/[[RI]]/[[VT]]| | | New England = {{StateForum/Core|{{{2|}}}||945|[[CT]]/[[ME]]/[[MA]]/[[NH]]/[[RI]]/[[VT]]|}} | ||
| CT|Connecticut = {{StateForum/Core|{{{2|}}}|247|945|New England}} | | CT|Connecticut = {{StateForum/Core|{{{2|}}}|247|945|New England}} | ||
| ME|Maine = {{StateForum/Core|{{{2|}}}|583|945|New England}} | | ME|Maine = {{StateForum/Core|{{{2|}}}|583|945|New England}} | ||
Line 59: | Line 63: | ||
| VT|Vermont = {{StateForum/Core|{{{2|}}}|587|945|New England}} | | VT|Vermont = {{StateForum/Core|{{{2|}}}|587|945|New England}} | ||
| Northeast = {{StateForum/Core|{{{2|}}}|[[DE]]/[[NJ]]/[[NY]]/[[PA]]| | | Northeast = {{StateForum/Core|{{{2|}}}||569|[[DE]]/[[NJ]]/[[NY]]/[[PA]]|}} | ||
| DE|Delaware = {{StateForum/Core|{{{2|}}}|575|569|Northeast}} | | DE|Delaware = {{StateForum/Core|{{{2|}}}|575|569|Northeast}} | ||
| NJ|New Jersey = {{StateForum/Core|{{{2|}}}|249|569|Northeast}} | | NJ|New Jersey = {{StateForum/Core|{{{2|}}}|249|569|Northeast}} | ||
Line 65: | Line 69: | ||
| PA|Pennsylvania = {{StateForum/Core|{{{2|}}}|215|569|Northeast}} | | PA|Pennsylvania = {{StateForum/Core|{{{2|}}}|215|569|Northeast}} | ||
| Mid Atlantic = {{StateForum/Core|{{{2|}}}|[[DC]]/[[MD]]/[[VA]]/[[WV]]| | | Mid Atlantic = {{StateForum/Core|{{{2|}}}||946|[[DC]]/[[MD]]/[[VA]]/[[WV]]|}} | ||
| DC|Washington DC|District of Columbia = {{StateForum/Core|{{{2|}}}|258|946|Mid Atlantic}} | | DC|Washington DC|District of Columbia = {{StateForum/Core|{{{2|}}}|258|946|Mid Atlantic}} | ||
| MD|Maryland = {{StateForum/Core|{{{2|}}}|246|946|Mid Atlantic}} | | MD|Maryland = {{StateForum/Core|{{{2|}}}|246|946|Mid Atlantic}} | ||
Line 71: | Line 75: | ||
| WV|West Virginia = {{StateForum/Core|{{{2|}}}|282|946|Mid Atlantic}} | | WV|West Virginia = {{StateForum/Core|{{{2|}}}|282|946|Mid Atlantic}} | ||
| Territories = {{StateForum/Core|{{{2|}}}|[[PR]]/[[VI]]| | | Territories = {{StateForum/Core|{{{2|}}}||953|[[PR]]/[[VI]]|}} | ||
| PR|Puerto Rico = {{StateForum/Core|{{{2|}}}|202|953|Territories}} | | PR|Puerto Rico = {{StateForum/Core|{{{2|}}}|202|953|Territories}} | ||
| VI|Virgin Islands = {{StateForum/Core|{{{2|}}}|677|953|Territories}} | | VI|Virgin Islands = {{StateForum/Core|{{{2|}}}|677|953|Territories}} | ||
<!-- Other territories need to be added --> | <!-- Other territories need to be added --> | ||
<!-- | <!-- This below is for the CommonState page --> | ||
| Testing = {{StateForum/Core|{{{2|}}}|[[XX]]/[[YY]]|192}} | | Testing = {{StateForum/Core|{{{2|}}}|[[XX]]/[[YY]]|192}} | ||
| CommonState|Intro|Forum = {{StateForum/Core|{{{2|}}}|192|192|Testing}} | | CommonState|Intro|Forum = {{StateForum/Core|{{{2|}}}|192|192|Testing}} | ||
<!-- Default USA forum; doesn't work perfectly for all fallouts, but can show errors --> | |||
| {{StateForum/Core|{{{2|}}}|129|129|USA}}<!-- default USA forum --> | | {{StateForum/Core|{{{2|}}}|129|129|USA}}<!-- default USA forum --> | ||
}}<noinclude>{{documentation}}<!-- | }}<noinclude>{{documentation}}<!-- | ||
Add categories and interwikis to the /doc subpage, not here! | Add categories and interwikis to the /doc subpage, not here! | ||
--></noinclude> | --></noinclude> |
Revision as of 20:03, 7 July 2014
Error in Parameter to RC/Data or RC/Forum
This template is a part of {{StateForum}}.
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 not used directly, but it is used through the {{StateForum}} template.
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 {{StateForum/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 = {{StateForum/Core|{{{2|}}}|JoeUsername|944|[[AL]]/[[FL]]/[[GA]]|[[Alabama]] / [[Florida]] / [[Georga]]}} | AL|Alabama = {{StateForum/Core|{{{2|}}}|213|944|Southeast}} | FL|Florida = {{StateForum/Core|{{{2|}}}|193|944|Southeast}} | GA|Georga = {{StateForum/Core|{{{2|}}}|214|944|Southeast}}
The region lines (Southeast) can return a text regional coordinator text name, 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) can return a forum URL to the state, a forum URL to the region, or a text name with the region.
The above documentation is transcluded from Template:StateForum/List/doc. Please add categories to the /doc subpage. Subpages of this template. |