Template:RC/doc View history

(Created initial doc)
 
m (Removed USA subpage links)
(18 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<!-- ADD DOCUMENTATION BELOW THIS LINE -->
<!-- ADD DOCUMENTATION BELOW THIS LINE -->


This template is a suite of subpage templates used for Regional Coordinators
This template is a suite of subpage templates (listed below) used for the [[Regional Coordinator | Regional Coordinator]] table.
 
== Subpages ==
The following subpages are currently defined:
 
* {{tl|AM/Editor}} - Regional Coordinator table entry template


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


{{Pre2|<nowiki>
{{Pre2|<nowiki>
{{RC/Editor|HighRankEd|USA|Southeast}}
{{RC/TableRow|3|Southeast}}
</nowiki>
}}
}}
== 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 {{tl|RC/Data}}.
== Related templates ==
{{RC/TemplateSuite}}


<!--
<!--
== Parameters ==
== Parameters ==
The {{tlc|AM/6}} and {{tlc|AM/5}} templates will automatically detect the page name and use that as the state to decide what region should be displayed. If the Area Manager template suite is used on a page with a name not covered in {{tl|StateForum}}, a parameter can be sent with the State name (spelled out or abbreviated) as in {{tlc|AM/5|California}}.
The {{tlx|AM/6}} and {{tlx|AM/5}} templates will automatically detect the page name and use that as the state to decide what region should be displayed. If the Area Manager template suite is used on a page with a name not covered in {{tl|StateForum}}, a parameter can be sent with the State name (spelled out or abbreviated) as in {{tlx|AM/5|California}}.


The {{tlc|AM/Editor}} has three parameters in the following order:
The {{tlx|AM/Editor}} has three parameters in the following order:
* Editor name
* Editor name
* Area Managed
* Area Managed
* Comments
* Comments
== Example table ==
{{AM/Top}}
{{AM/6|MA}}<!-- MA added because state name is not in example pagename
-- Insert Rank 6 editors alphabetically below this line -->
{{AM/Editor|Andypoms|Statewide<br/>Mostly Western MA|Connecticut based USA Country Manager, covers Massachusetts as well}}
{{AM/5|MA}}<!-- MA added because state name is not in example pagename
-- Insert Rank 5 editors alphabetically below this line -->
{{AM/Editor|UserX}}
{{AM/4}}<!--
-- Insert Rank 4 editors alphabetically below this line -->
{{AM/Editor|Scott_h|New Bedford AM, Boston to Worcester editor|MetroWest based}}
{{AM/3}}<!--
-- Insert Rank 3 editors alphabetically below this line -->
{{AM/Editor|Djsmith89|Norwood Area|Local to the area, grew up here}}
{{AM/Editor|jasonm128|Cambridge to Woburn and surrounding cities|20+ years in Boston area. Also edit in Denver and northern NJ}}
{{AM/Editor|Panther37|Barnstable, Dukes and Nantucket Counties (Cape Cod and Islands)|Colorado Springs based. Grew up on Cape Cod. Manages Colorado Springs area also}}
<!-- Do not add editors below this line -->
{{AM/Bottom}}
-->
-->


<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Templates for or part of the state template]]
[[Category:Templates]]
[[Category:Templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->


</includeonly>
</includeonly>

Revision as of 04:58, 21 April 2017

This is a documentation subpage for Template:RC.
It contains usage information, categories and other content that is not part of the original template page.

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.