Template:RC/Data/Core View history

(Added state area-type)
(added forum-id)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}
<includeonly>{{#switch: {{lc:{{{1|}}}}}
<!-- Used with State names -->
<!-- Keep area-type as the second variable to enable identifying the other variables
| state-id = {{{2}}} <!-- a number associated with the forums for the state -->
----
| region-name = {{{3}}} <!-- the name of the region in which the state falls -->
---- Used with State names -->
| area-type = {{{4}}} <!-- either state, territory, or district -->
| area-type = {{{2}}} <!-- identifies as region, state, territory, or district -->
| state-id | forum-id = {{{3}}} <!-- 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 | forum-id = {{{3}}} <!-- number associated with the forum for region -->
| 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>

Latest revision as of 08:14, 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.