Difference between revisions of "Template:Castle Photo"

From Jcastle.info
 
(24 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
|Contributor=
 
|Contributor=
 
|ContributorOldID=
 
|ContributorOldID=
 +
|CastleSubpage=
 
}}
 
}}
 
</pre>
 
</pre>
Line 24: Line 25:
 
! Castle
 
! Castle
 
| [[Castle::{{{Castle|}}}]]  
 
| [[Castle::{{{Castle|}}}]]  
 +
{{#if:{{{CastleSubpage|}}}|
 +
{{!}}-
 +
! Castle Subpage
 +
{{!}} [[CastleSubpage::{{{CastleSubpage|}}}]]
 +
}}
 
|-
 
|-
 
! Photo Order  
 
! Photo Order  
Line 41: Line 47:
 
{{#if:{{{GPSLocation|}}}|
 
{{#if:{{{GPSLocation|}}}|
 
{{!}}-
 
{{!}}-
! Location
+
! Map
{{!}} {{#display_map:{{{GPSLocation}}}|service=googlemaps|type=terrain|zoom=16}}}}
+
{{!}} {{#display_map:{{{GPSLocation}}}|service=googlemaps|type=terrain|zoom=16|width=500px}}}}
 
|}
 
|}
 
Lat: {{#mediaexif:{{PAGENAME}}|GPSLatitude}} <br/>
 
Lon: {{#mediaexif:{{PAGENAME}}|GPSLongitude}} <br/>
 
Alt: {{#mediaexif:{{PAGENAME}}|GPSAltitude}} <br/>
 
  
 
[[Category:Castle Photos]]
 
[[Category:Castle Photos]]
 
</includeonly>
 
</includeonly>

Latest revision as of 21:59, 13 June 2020

This is the "Castle Photo" template. It should be called in the following format:

{{Castle Photo
|File name=
|order=
|Highlight=
|hide=
|Castle=
|Description=
|Short Description=
|Description Jse=
|Short Description Jse=
|GPSLocation=
|Contributor=
|ContributorOldID=
|CastleSubpage=
}}

Edit the page to see the template text.