Can/t/registration properties

From Wiki
< Can‎ | t
Jump to: navigation, search

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.

Example

<table>
  {{:Can/t/registration properties
   | area = Tor
   | postal code = M5S 1K3
   }}