Difference between revisions of "Template:HM prison"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(Created page with '<span class="url">{{#if:{{{name|{{{2|}}}}}} |[http://www.justice.gov.uk/global/contacts/noms/prison-finder/{{#if:{{{id|{{{1|}}}}}}|{{{id|{{{1|}}}}}}}}/ {{{name|{...')
 
imported>Frietjes
Line 1: Line 1:
 
<span class="url">{{#if:{{{name|{{{2|}}}}}}
 
<span class="url">{{#if:{{{name|{{{2|}}}}}}
|[http://www.justice.gov.uk/global/contacts/noms/prison-finder/{{#if:{{{id|{{{1|}}}}}}|{{{id|{{{1|}}}}}}}}/ {{{name|{{{2|}}}}}}] at justice.gov.uk]
+
|[http://www.justice.gov.uk/global/contacts/noms/prison-finder/{{#if:{{{id|{{{1|}}}}}}|{{{id|{{{1|}}}}}}}}/ {{{name|{{{2|}}}}}}] at justice.gov.uk
 
|[http://www.justice.gov.uk/global/contacts/noms/prison-finder/{{#if:{{{id|{{{1|}}}}}}|{{{id|{{{1|}}}}}}}}/ justice.gov.uk]
 
|[http://www.justice.gov.uk/global/contacts/noms/prison-finder/{{#if:{{{id|{{{1|}}}}}}|{{{id|{{{1|}}}}}}}}/ justice.gov.uk]
 
}}</span><noinclude>{{documentation|content=
 
}}</span><noinclude>{{documentation|content=

Revision as of 19:11, 3 April 2012

justice.gov.uk

50px Template documentation

Creates a link to an information page for a prison on the justice.gov.uk website.

Usage

{{HM prison|<id>|<name>}}

or

{{HM prison|id=<id>|name=<name>}}

where

<id> is the prison ID in the URL,
http://www.justice.gov.uk/global/contacts/noms/prison-finder/<id>/
<name> is the name of the prison

See also