Template:RC/Data/Core View history

(Changed doc link)
(added forum-id)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{{1}}}
<includeonly>{{#switch: {{lc:{{{1|}}}}}
<!-- Used with State names -->
<!-- Keep area-type as the second variable to enable identifying the other variables
 
----
| state-id|State-id = {{{2}}}
---- Used with State names -->
| region-name|Region-Name|Region-name = {{{3}}}
| 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|Region-id = {{{2}}}
| area-type = {{{2}}} <!-- identifies as region, state, territory, or district -->
| regional-coordinator1|Regional-Coordinator1|Regional-coordinator1 = {{{3}}}
| region-id | forum-id = {{{3}}} <!-- number associated with the forum for region -->
| regional-coordinator2|Regional-Coordinator2|Regional-coordinator2 = {{{4}}}
| regional-coordinator1 = {{{4}}}
| state-list|State-List|State-list = {{{5}}}
| regional-coordinator2 = {{{5}}}
| state-list-long|State-List-Long|State-list-long = {{{6}}}
| 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 -->
}}<noinclude>{{documentation|Template:RC/Data}}<!--  
}}</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}} to create user page and PM links.
  • {{PM}} 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.