Template:Castle: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Line 40: Line 40:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{#set:Notes={{{Notes|}}}}}{| class="infobox"
</noinclude><includeonly>{{#set:Notes={{{Notes|}}}}}
<div class="row">
    <div class="col-md-8">
{{highlightimage}}
 
{{#if:{{{History|}}}|
=== History ===
{{{History|}}}}}
 
{{#if:{{{Notes|}}}|
=== Visit Notes ===
{{{Notes|}}}}}
 
{{#if:{{{Japanese Notes|}}}|
=== Japanese Notes ===
{{{Japanese Notes|}}}}}
 
{{#ask:
[[Category:Castle Photos]]
[[Castle::{{PAGENAME}}]]
|?GPSLocation
|?Short Description
|?{{{fileproperty|}}}
|format=googlemaps
|hidenamespace=on
|limit=100
|template=InfoWindowProfile
|type=terrain
|icon=Darkred18.png
}}
 
== Gallery ==
{{#ask:
[[Category:Castle Photos]]
[[Castle::{{PAGENAME}}]]
[[Hide::No]]
|?Short Description
|captionproperty=Short Description
|format=gallery
|sort=order
|order=ascending
|overlay=yes
}}
 
 
<vote type=1 />
<comments />
 
[[Category:Castles]]    </div>
    <div class="col-md-4">
{| class="infobox"
! colspan="2" class="caption" | Castle Properties
! colspan="2" class="caption" | Castle Properties
|-
|-
Line 118: Line 168:
|-
|-
! colspan="2" | {{#display_map:{{#show: {{FULLPAGENAME}}|?GPSLocation}}|service=googlemaps|type=terrain|zoom=6|height=200|icon=Castlemarker.png}}
! colspan="2" | {{#display_map:{{#show: {{FULLPAGENAME}}|?GPSLocation}}|service=googlemaps|type=terrain|zoom=6|height=200|icon=Castlemarker.png}}
|}
|}   </div>
{{highlightimage}}
</div>
 
{{#if:{{{History|}}}|
=== History ===
{{{History|}}}}}
 
{{#if:{{{Notes|}}}|
=== Visit Notes ===
{{{Notes|}}}}}
 
{{#if:{{{Japanese Notes|}}}|
=== Japanese Notes ===
{{{Japanese Notes|}}}}}
 
{{#ask:
[[Category:Castle Photos]]
[[Castle::{{PAGENAME}}]]
|?GPSLocation
|?Short Description
|?{{{fileproperty|}}}
|format=googlemaps
|hidenamespace=on
|limit=100
|template=InfoWindowProfile
|type=terrain
|icon=Darkred18.png
}}
 
== Gallery ==
{{#ask:
[[Category:Castle Photos]]
[[Castle::{{PAGENAME}}]]
[[Hide::No]]
|?Short Description
|captionproperty=Short Description
|format=gallery
|sort=order
|order=ascending
|overlay=yes
}}


__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__


<vote type=1 />
<comments />
[[Category:Castles]]
</includeonly>
</includeonly>

Revision as of 16:07, 13 January 2018

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

{{Castle
|English Name=
|Japanese Name=
|Romaji Name=
|Alternate Names=
|Founder=
|Year Founded=
|Castle Type=
|Castle Condition=
|Designations=
|Historical Period=
|Main Keep Structure=
|Year Reconstructed=
|Artifacts=
|Features=
|Access=
|Visitor Information=
|Time Required=
|City=
|Prefecture=
|GPSLocation=
|Notes=
|History=
|Year Visited=
|Japanese Notes=
|Visits=
|Website=
|castleElev=
|ekiLatLng=
|ekiElev=
|elevChange=
|kamon=
|KamonFam=
|AddedJcastle=
}}

Edit the page to see the template text.