US/t/registration properties
US/t/registration properties is the US 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 NYC/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> {{:US/t/registration properties | area = the local area of residence. | zip = the ZIP+4 code of the registrant's primary residence, separated with a single dash. The value will be assigned to Property:Geohandle. }} </table>
Example
<table> {{:US/t/registration properties | area = NYC | zip = 10005-2836 }} </table>