Difference between revisions of "Template:Infobox UK property"

From RouteWiki
Jump to: navigation, search
(add hCard microformat classes)
 
m (1 revision: uk place)
 
(No difference)

Latest revision as of 09:16, 29 March 2011

{{#ifeq:|yes||{{#if:{{{property_name}}}|}}{{#if:|{{#if:{{{above}}} |
|{{#if:
|{{#if: | }} }} }} }}{{#ifeq:|yes|{{#if:{{{property_name}}}|{{{property_name}}}}}}}{{#if:|{{#if: |
|{{#if:
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{subheader2}}}
|{{#if: | }} }} }}{{#if:{{#if:}}|{{#if: |
|{{#if:{{#if:}}{{#if:{{{caption}}}|
{{{caption}}}}}
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{image2}}}{{#if:|
{{{caption2}}}}}
|{{#if: | }} }} }}{{#if: |
|{{#if:{{{type}}}
|{{#if:Type | }} }}{{#if: |
|{{#if:{{#switch: 
 | NT=National Trust
 | EH=English Heritage
 | RHS=Royal Horticultural Society
 | NTS=National Trust for Scotland
 | YHA=Youth Hostel Association
 | SYHA=Scottish Youth Hostel Association
 | CADW=Cadw
 | HS= Historic Scotland
 | HMG=Government building
 | 
}}
|{{#if:Proprietor | }} }}{{#if: |
|{{#if:{{#switch: 
 | NT=National Trust
 | EH=English Heritage
 | RHS=Royal Horticultural Society
 | NTS=National Trust for Scotland
 | YHA=Youth Hostel Association
 | SYHA=Scottish Youth Hostel Association
 | CADW=Cadw
 | HS= Historic Scotland
 | HMG=Government building
 | 
}}
|{{#if:Managed by | }} }}{{#if: |
|{{#if:{{{area}}}
|{{#if:Size | }} }}{{#if: |
|{{#if:{{{main}}}
|{{#if:Main feature | }} }}{{#if: |
|{{#if:{{{other}}}
|{{#if:Other features | }} }}{{#if: |
|{{#if:{{{public_access}}}
|{{#if:Public access | }} }}{{#if: |
|{{#if:{{{museum}}}
|{{#if:Museum | }} }}{{#if: |
|{{#if:{{{exhibition}}}
|{{#if:Exhibition | }} }}{{#if: |
|{{#if:{{{country}}}
|{{#if:Country | }} }}{{#if: |
|{{#if:{{{region}}}
|{{#if:Region | }} }}{{#if: |
|{{#if:{{{gridsquare}}}
|{{#if:UK Grid square | }} }}{{#if: |
|{{#if:{{{address}}}
|{{#if:Address | }} }}{{#if: |
|{{#if:{{{postcode}}}
|{{#if:Postcode | }} }}{{#if: |
|{{#if:{{{refreshments}}}
|{{#if:Refreshments | }} }}{{#if: |
|{{#if:{{{parking}}}
|{{#if:Parking | }} }}{{#if: |
|{{#if:{{{shop}}}
|{{#if:Shop | }} }}{{#if: |
|{{#if:{{{website}}}
|{{#if:Website | }} }}{{#if: |
|{{#if:{{#if:|{{Coord/input/{{#ifeq:||nolat|{{#ifeq:N||dec|{{#if:{{#switch:NW|NE|NW|SE|SW=y}}|dms|{{#if:{{#switch:|NE|NW|SE|SW=y}}|dm|{{#if:{{#switch:N|NE|NW|SE|SW=y}}|d|ERROR}}}}}}}}}}

|1= |2= |3= |4=N |5= |6= |7= |8=W |9=region:GB_type:landmark |10= |format= |name= }}Coordinates: {{Coord/input/{{#ifeq:||nolat|{{#ifeq:N||dec|{{#if:{{#switch:NW|NE|NW|SE|SW=y}}|dms|{{#if:{{#switch:|NE|NW|SE|SW=y}}|dm|{{#if:{{#switch:N|NE|NW|SE|SW=y}}|d|ERROR}}}}}}}}}} |1= |2= |3= |4=N |5= |6= |7= |8=W |9=region:GB_type:landmark |10= |format= |name= }}{{#ifeq:μ|μ||Template:Coord/input/error2}}{{#ifeq:μ|μ||Template:Coord/input/error2}}{{#ifeq:μ|μ||Template:Coord/input/error2}}{{#ifeq:μ|μ||Template:Coord/input/error2}}{{#ifeq:μ|μ||Template:Coord/input/error2}}{{#ifeq:μ|μ||Template:Coord/input/error2}}}}

|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if:|}}{{#if:|}} {{#ifeq:|yes||
{{{property_name}}}
{{{above}}}
{{{label}}} |
 }}
{{{data}}}
{{{header}}}
{{{label}}} |
 }}
{{{header}}}
{{{label}}} |
 }}
{{{subheader2}}}
{{{header}}}
{{{label}}} |
 }}
{{#if:}}{{#if:{{{caption}}}|
{{{caption}}}}}
{{{header}}}
{{{label}}} |
 }}
{{{image2}}}{{#if:|
{{{caption2}}}}}
Type |
 }}
{{{type}}}
Proprietor |
 }}

{{#switch:

 | NT=National Trust
 | EH=English Heritage
 | RHS=Royal Horticultural Society
 | NTS=National Trust for Scotland
 | YHA=Youth Hostel Association
 | SYHA=Scottish Youth Hostel Association
 | CADW=Cadw
 | HS= Historic Scotland
 | HMG=Government building
 | 
}}
Managed by |
 }}

{{#switch:

 | NT=National Trust
 | EH=English Heritage
 | RHS=Royal Horticultural Society
 | NTS=National Trust for Scotland
 | YHA=Youth Hostel Association
 | SYHA=Scottish Youth Hostel Association
 | CADW=Cadw
 | HS= Historic Scotland
 | HMG=Government building
 | 
}}
Size |
 }}
{{{area}}}
Main feature |
 }}
{{{main}}}
Other features |
 }}
{{{other}}}
Public access |
 }}
{{{public_access}}}
Museum |
 }}
{{{museum}}}
Exhibition |
 }}
{{{exhibition}}}
Country |
 }}
{{{country}}}
Region |
 }}
{{{region}}}
UK Grid square |
 }}
{{{gridsquare}}}
Address |
 }}
{{{address}}}
Postcode |
 }}
{{{postcode}}}
Refreshments |
 }}
{{{refreshments}}}
Parking |
 }}
{{{parking}}}
Shop |
 }}
{{{shop}}}
Website |
 }}
{{{website}}}
|
 }}

{{#if:|{{Coord/input/{{#ifeq:||nolat|{{#ifeq:N||dec|{{#if:{{#switch:NW|NE|NW|SE|SW=y}}|dms|{{#if:{{#switch:|NE|NW|SE|SW=y}}|dm|{{#if:{{#switch:N|NE|NW|SE|SW=y}}|d|ERROR}}}}}}}}}} |1= |2= |3= |4=N |5= |6= |7= |8=W |9=region:GB_type:landmark |10= |format= |name= }}Coordinates: {{Coord/input/{{#ifeq:||nolat|{{#ifeq:N||dec|{{#if:{{#switch:NW|NE|NW|SE|SW=y}}|dms|{{#if:{{#switch:|NE|NW|SE|SW=y}}|dm|{{#if:{{#switch:N|NE|NW|SE|SW=y}}|d|ERROR}}}}}}}}}} |1= |2= |3= |4=N |5= |6= |7= |8=W |9=region:GB_type:landmark |10= |format= |name=

}}{{#ifeq:μ|μ||Template:Coord/input/error2}}{{#ifeq:μ|μ||Template:Coord/input/error2}}{{#ifeq:μ|μ||Template:Coord/input/error2}}{{#ifeq:μ|μ||Template:Coord/input/error2}}{{#ifeq:μ|μ||Template:Coord/input/error2}}{{#ifeq:μ|μ||Template:Coord/input/error2}}}}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
{{{below}}}
{{#if:1||This box: }}{{#if:|[}}[[{{#switch:
|#default =  
| = 
   {{#ifeq:  | 
     | Template:{{{name}}}            
     |       
   }}

}}|{{#if:1|v|view}}]] · [[|{{#if:1|d|talk}}]]{{#if:|| · [{{fullurl:{{#switch:

|#default =  
| = 
   {{#ifeq:  | 
     | Template:{{{name}}}            
     |       
   }}
}}|action=edit}} {{#if:1|e|edit}}]}}
{{#if:|]}}
}}{{#switch:¬
|¬|no       = 
||force|yes = Template:Italic title

}}Template:Documentation