US/t/registration properties

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

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.

Example

<table>
  {{:US/t/registration properties
   | area = NYC
   | zip = 10005-2836
   }}
  </table>