[% USE CGI %] [% INCLUDE header.tt %] [% INCLUDE banner.tt %]
[% IF !config.content_above_navbar_in_html %] [% INCLUDE navbar.tt %] [% END %]
[% IF oldid %] [% END %] [% IF wgs84_lat AND wgs84_long AND display_google_maps and gmaps_api_key %]
[% END %]
[% IF current %] [% IF backlinks_in_title AND is_indexable_node %]

[% node_name %]

[% ELSIF backlinks_in_title %]

[% node_name %]

[% ELSE %]

[% node_name %]

[% END %] [% ELSE %]

[% IF moderated %] Historical [% ELSE %] Un-moderated [% END %] version [% version %] of [% node_name %]

[% END %] [% IF not (content || coord_field_1_value || coord_field_2_value || latitude || longitude) %]
We don't have a node called "[% node_name %]". Would you like to create it?
[% ELSE %]
[% INCLUDE display_metadata.tt %]
[% content %]
[% TRY %] [% INCLUDE custom_node.tt %] [% CATCH %] [% END %] [% IF coord_field_1_value AND coord_field_2_value %]
of here.
[% END %] [% IF (latitude AND longitude) OR (os_x AND os_y) OR (osie_x AND osie_y) %]
[% END %] [% IF os_x AND os_y %] OS X co-ord: [% CGI.escapeHTML(os_x) %]     OS Y co-ord: [% CGI.escapeHTML(os_y) %]     [% ELSIF osie_x AND osie_y %] OS IE X co-ord: [% CGI.escapeHTML(osie_x) %]     OS IE Y co-ord: [% CGI.escapeHTML(osie_y) %]     [% END %] [% IF latitude AND longitude %] (Latitude: [% latitude %] Longitude: [% longitude %]) [% END %] [% IF (latitude AND longitude) OR (os_x AND os_y) OR (osie_x AND osie_y)%]
[% END %]
[% IF current %] Last edited [% last_modified %] [% IF version == 1 %] (version [% version %]) [% ELSE %] (version [% version %]; diff). [% END %] [% ELSE %] This is version [% version %] (as of [% last_modified %]). View current version. [% END %] [% IF version AND version > 1 %] List all versions. [% END %]
[% END %]
[% IF config.content_above_navbar_in_html %] [% INCLUDE navbar.tt %] [% END %] [% INCLUDE footer.tt %]