Template:RC/Data/Core View history

(Added state area-type)
(Adjusted for area-type addition)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}
<includeonly>{{#switch: {{lc:{{{1|}}}}}
<!-- Used with State names -->
<!-- Used with State names -->
| state-id = {{{2}}} <!-- a number associated with the forums for the state -->
| area-type = {{{2}}} <!-- identifies as region, state, territory, or district -->
| region-name = {{{3}}} <!-- the name of the region in which the state falls -->
 
| area-type = {{{4}}} <!-- either state, territory, or district -->
| state-id = {{{3}}} <!-- a number associated with the forums for the state -->
| region-name = {{{4}}} <!-- the name of the region in which the state falls -->
<!-- Used with Region names -->
<!-- Used with Region names -->
| region-id = {{{2}}} <!-- a number associated with the forums for the regions -->
| area-type = {{{2}}} <!-- identifies as region, state, territory, or district -->
| regional-coordinator1 = {{{3}}}
| region-id = {{{3}}} <!-- a number associated with the forums for the regions -->
| regional-coordinator2 = {{{4}}}
| regional-coordinator1 = {{{4}}}
| state-list = {{{5}}} <!-- states using the 2 letter abbreviation "AZ/AK/CA" -->
| regional-coordinator2 = {{{5}}}
| state-list-long = {{{6}}} <!-- full names "Arizona / Alaska / California" -->
| state-list = {{{6}}} <!-- states using the 2 letter abbreviation "AZ/AK/CA" -->
| state-list-long = {{{7}}} <!-- full names "Arizona / Alaska / California" -->
| Error in Parameter to RC/Data or RC/Forum<!-- default; not especially useful in all combinations, but shows errors -->
| Error in Parameter to RC/Data or RC/Forum<!-- default; not especially useful in all combinations, but shows errors -->
}}</includeonly><noinclude>{{documentation}}<!--  
}}</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>

Revision as of 02:55, 25 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 {{RC/Data}} and should not require changes under normal conditions.

It includes a cross reference from parameter names to the position of data in {{RC/Data}} to simplify retrieving data from that table.

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/Core/doc.
Please add categories to the /doc subpage.
Subpages of this template.