Difference between revisions of "Template:Castle Photo"

From Jcastle.info
(Generated from a page schema)
 
(46 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Castle Photo
 
{{Castle Photo
 +
|File name=
 
|order=
 
|order=
 
|Highlight=
 
|Highlight=
 
|hide=
 
|hide=
 
|Castle=
 
|Castle=
 +
|Description=
 
|Short Description=
 
|Short Description=
|Coordinates=
+
|Description Jse=
 +
|Short Description Jse=
 +
|GPSLocation=
 +
|Contributor=
 +
|ContributorOldID=
 +
|CastleSubpage=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{#set:order={{{order|}}}|Highlight={{{Highlight|}}}|hide={{{hide|}}}|}}
+
</noinclude><includeonly>{{#set:GPSLocation={{{GPSLocation|}}}|order={{{order|}}}|Highlight={{{Highlight|}}}|hide={{{hide|}}}|Contributor={{{Contributor|}}}|ContributorOldID={{{ContributorOldID|}}}|}}{{#set:File name=File:{{{File name|}}}}}
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 
! Castle
 
! Castle
 
| [[Castle::{{{Castle|}}}]]  
 
| [[Castle::{{{Castle|}}}]]  
 +
{{#if:{{{CastleSubpage|}}}|
 +
{{!}}-
 +
! Castle Subpage
 +
{{!}} [[CastleSubpage::{{{CastleSubpage|}}}]]
 +
}}
 +
|-
 +
! Photo Order
 +
| [[Order::{{{order|}}}]]
 +
|-
 +
! Description
 +
| [[Description::{{{Description|}}}]]
 
|-
 
|-
 
! Short Description
 
! Short Description
| {{{Short Description|}}}
+
| [[Short Description::{{{Short Description|}}}]]
 +
|-
 +
! Description in Japanese
 +
| [[Description Jse::{{{Description Jse|}}}]]
 
|-
 
|-
! Coordinates
+
! Short Description in Japanese
| [[Coordinates::{{{Coordinates|}}}]]  
+
| [[Short Description Jse::{{{Short Description Jse|}}}]]  
 +
{{#if:{{{GPSLocation|}}}|
 +
{{!}}-
 +
! Map
 +
{{!}} {{#display_map:{{{GPSLocation}}}|service=googlemaps|type=terrain|zoom=16|width=500px}}}}
 
|}
 
|}
  
 
[[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.