Template:RC/TableRow View history

(preparing for multiple ARCs)
(final testing)
 
(8 intermediate revisions by the same user not shown)
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}}|rank=6}}
| {{small|[RC]}} {{Username|{{RC/Data|{{{2|}}}|regional-coordinator}}|rank=6}}<!--
{{#if: {{RC/Data|{{{2|}}}|regional-coordinator2}}<!-- If there is a second RC they are ARC -->
-->{{#if: {{RC/Data|{{{2|}}}|arc1}}<!-- If there is an ARC1 entry display it
  | <!--sends <br/>-->{{small|[ARC]}} {{Username|{{RC/Data|{{{2|}}}|regional-coordinator2}}|rank=6}}
-->| <br/>{{small|[ARC1]}} {{Username|{{RC/Data|{{{2|}}}|arc1}}|rank=6}}
{{#if: {{RC/Data|{{{3|}}}|regional-coordinator3}}<!-- If there is a third RC they are ARC -->
}}{{#if: {{RC/Data|{{{2|}}}|arc2}}<!-- If there is an ARC2 entry display it
  | <!--sends <br/>-->{{small|[ARC]}} {{Username|{{RC/Data|{{{3|}}}|regional-coordinator3}}|rank=6}}
-->| <br/>{{small|[ARC2]}} {{Username|{{RC/Data|{{{2|}}}|arc2}}|rank=6}}
}}{{#if: {{RC/Data|{{{2|}}}|arc3}}<!-- If there is an ARC3 entry display it
-->| <br/>{{small|[ARC3]}} {{Username|{{RC/Data|{{{2|}}}|arc3}}|rank=6}}
}}{{#if: {{RC/Data|{{{2|}}}|arc4}}<!-- If there is an ARC4 entry display it
-->| <br/>{{small|[ARC4]}} {{Username|{{RC/Data|{{{2|}}}|arc4}}|rank=6}}
}}</includeonly><noinclude>{{documentation|Template:RC/doc}}</noinclude>
}}</includeonly><noinclude>{{documentation|Template:RC/doc}}</noinclude>

Latest revision as of 00:30, 27 January 2018

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.