Can/t/registration properties
Can/t/registration properties is Canada's version of the general registration properties template. It sets registration properties for the transcluding page (always a top-level user page). It also adds the page to Category:Registrant. It is mainly for the use of area-specific registration templates, such as Tor/t/register.
The property settings for the page are rendered as a series of table rows (tr
). In each row, the element that contains the property value is formally identified by the name of the property. This is for the benefit of client-side scripts. The identified element is typically a table cell (td
), but not always. Note that the identifier might not match the property name exactly; to be sure, check the page source. For example:
<tr> <th><a href="/w/Property:Foo">Foo</a></th> <td id="regpFoo"> ... </td> </tr>
Usage
All registration properties are optional.
<table> {{:Can/t/registration properties | area = the local area of residence. | areaTitle = Property:Display title of the area. | postal code = the postal code of the registrant's primary residence, normalized to upper case and separated with a single space. The value will be assigned to Property:Geohandle. }} </table>
Example
<table> {{:Can/t/registration properties | area = Tor | postal code = M5S 1K3 }}