« Modèle:RC/doc Voir l’historique

m (1 révision importée)
Aucun résumé des modifications
 
Ligne 2 : Ligne 2 :
<!-- ADD DOCUMENTATION BELOW THIS LINE -->
<!-- ADD DOCUMENTATION BELOW THIS LINE -->


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


== Usage ==
== Usage ==
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.
The primary template used in this suite is {{tl|RC/TableRow}} to automatically generate the content of the coordinator table. Place this template repeatedly for each region as shown.


{{Pre2|<nowiki>
{{Pre2|<nowiki>
Ligne 15 : Ligne 15 :
There are two required 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 1''' is a text field added to the left inside the province name column, typically to indicate a map key province number for user cross reference.


: '''Parameter 2''' is the name of the region. It must match a region already defined in {{tl|RC/Data}}.
: '''Parameter 2''' is the name of the province. It must match a province already defined in {{tl|RC/Data}}.


== Related templates ==
== Related templates ==
Ligne 25 : Ligne 25 :
<!--
<!--
== Parameters ==
== Parameters ==
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 {{tlx|AM/6}} and {{tlx|AM/5}} templates will automatically detect the page name and use that as the province to decide what should be displayed. If the Area Manager template suite is used on a page with a name not covered in {{tl|ProvinceForum}}, a parameter can be sent with the Province name (spelled out or abbreviated) as in {{tlx|AM/5|Ontario}}.


The {{tlx|AM/Editor}} has three parameters in the following order:
The {{tlx|AM/Editor}} has three parameters in the following order:
Ligne 35 : Ligne 35 :
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Templates for or part of the state template]]
[[Category:Templates for or part of the province template]]
[[Category:Templates]]
[[Category:Templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->


</includeonly>
</includeonly>

Dernière version du 13 novembre 2019 à 02:08

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

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

Usage

The primary template used in this suite is {{RC/TableRow}} to automatically generate the content of the 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 province name column, typically to indicate a map key province number for user cross reference.
Parameter 2 is the name of the province. It must match a province already defined in {{RC/Data}}.

Related templates

This template suite also uses the following templates:

  • {{RC/Canada}} - Link to Canadian Wiki page and forum
  • {{RC/Province}} - Link to Province Wiki page and forum
  • {{RC/CommonProvince}} - Default content for provincial pages if not already created
  • {{RC/Forum}} - Generates HTML link based on Province name and requested data
  • {{RC/Data}} - The database holding all the 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.