Template:RC/TableRow View history

(Updated phase one for supporting ARCs up to 4)
No edit summary
 
(13 intermediate revisions by 2 users 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|}}}|RC}}|rank=6}}
| {{small|[RC]}} {{Username|{{RC/Data|{{{2|}}}|regional-coordinator}}|rank=6}}{{#if: {{RC/Data|{{{2|}}}|arc1}}<!-- If there is an ARC1 entry display it
{{#if: {{RC/Data|{{{2|}}}|ARC1}}<!-- If there is an ARC entry display it-->
-->| <br/>{{small|[CC]}} {{Username|{{RC/Data|{{{2|}}}|arc1}}|rank=6}}
  | <!--<br/>-->{{small|[ARC]}} {{Username|{{RC/Data|{{{2|}}}|ARC1}}|rank=6}}
}}{{#if: {{RC/Data|{{{2|}}}|arc2}}<!-- If there is an ARC2 entry display it
-->| <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 18:31, 4 July 2022

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/Pakistan}} - 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.