Template:UK legislation/doc
Appearance
![]() | This is a documentation subpage for Template:UK legislation. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 2,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template's initial visibility currently defaults to collapsed
, meaning that it is hidden apart from its title bar.
To change this template's initial visibility, the |state=
parameter may be used:
{{UK legislation|state=expanded}}
will show the template expanded, i.e. fully visible.{{UK legislation|state=autocollapse}}
will show the template autocollapsed, i.e. if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar, but if not, it is fully visible.
Microformat
[edit]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
Please do not rename or remove these classes.
See also
[edit]- {{British legislation lists}}
- To cite British legislation, use {{Cite legislation UK}}