Template:UK legislation/doc
| This is a documentation subpage for Template:UK legislation. It contains usage information, categories and other content that is not part of the original template page. |
Initial visibility: currently defaults to collapsed
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{UK legislation|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{UK legislation|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{UK legislation|state=autocollapse}}
If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to collapsed.
Microformat
The HTML mark-up produced by this template includes an adr microformat that makes postal addresses or their component parts (regions, postal codes, country names, etc) readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Classes used
The HTML classes of this microformat include:
- adr
- country-name
- extended-address
- locality
- postal-code
- region
- street-address
See also
- {{British legislation lists}}
- To cite British legislation, use {{Cite legislation UK}}