Difference between revisions of "Template:RC/TableRow"

From Wazeopedia
(Adding region abbreviation)
(Set rank 6 for username)
Line 3: Line 3:
 
| {{RC/Region|{{{2|}}}|{{{3|}}}}}<!-- Region and Forum link -->
 
| {{RC/Region|{{{2|}}}|{{{3|}}}}}<!-- Region and Forum link -->
 
| {{RC/Data|{{{2|}}}|state-list}}<!-- States and Territories -->
 
| {{RC/Data|{{{2|}}}|state-list}}<!-- States and Territories -->
| {{small|[RC]}} {{Username|{{RC/Data|{{{2|}}}|regional-coordinator1}}}}
+
| {{small|[RC]}} {{Username|{{RC/Data|{{{2|}}}|regional-coordinator1}}|rank=6}}
 
{{#if: {{RC/Data|{{{2|}}}|regional-coordinator2}}<!-- If there is a second RC they are ARC -->
 
{{#if: {{RC/Data|{{{2|}}}|regional-coordinator2}}<!-- If there is a second RC they are ARC -->
   | <!--<br/>-->{{small|[ARC]}} {{Username|{{RC/Data|{{{2|}}}|regional-coordinator2}}}}
+
   | <!--<br/>-->{{small|[ARC]}} {{Username|{{RC/Data|{{{2|}}}|regional-coordinator2}}|rank=6}}
 
}}</includeonly><noinclude>{{documentation|Template:RC/doc}}</noinclude>
 
}}</includeonly><noinclude>{{documentation|Template:RC/doc}}</noinclude>

Revision as of 01:19, 5 March 2017

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

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

Usage

The primary template used in this suite is {{RC/TableRow}} to automatically generate the content of the regional coordinator table. Place this template repeatedly for each region as shown.

{{RC/TableRow|3|Southeast}}

Parameters

There are two required parameters:

Parameter 1 is a text field added to the left inside the region name column, typically to indicate a map key region number for user cross reference.
Parameter 2 is the name of the region. It must match a region already defined in {{RC/Data}}.

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/doc.
Subpages of this template.