Template:Castle: Difference between revisions
From Jcastle.info
(Generated from a page schema) |
No edit summary |
||
Line 39: | Line 39: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{| class=" | </noinclude><includeonly>{| class="infobox" | ||
! colspan="2" class="caption" | Castle Properties | |||
|- | |||
! English Name | ! English Name | ||
| [[English Name::{{{English Name|}}}]] | | [[English Name::{{{English Name|}}}]] | ||
Line 45: | Line 47: | ||
! Japanese Name | ! Japanese Name | ||
| [[Japanese Name::{{{Japanese Name|}}}]] | | [[Japanese Name::{{{Japanese Name|}}}]] | ||
|- | |- | ||
! Alternate Names | ! Alternate Names | ||
Line 56: | Line 55: | ||
|- | |- | ||
! Year Founded | ! Year Founded | ||
| | | {{{Year Founded|}}} | ||
|- | |- | ||
! Castle Type | ! Castle Type | ||
Line 72: | Line 71: | ||
{{!}}- | {{!}}- | ||
! Main Keep Structure | ! Main Keep Structure | ||
{{!}} | {{!}} {{{Main Keep Structure|}}}}} | ||
{{#if:{{{Year Reconstructed|}}}| | {{#if:{{{Year Reconstructed|}}}| | ||
{{!}}- | {{!}}- | ||
! Year Reconstructed | ! Year Reconstructed | ||
{{!}} | {{!}} {{{Year Reconstructed|}}}}} | ||
{{#if:{{{Artifacts|}}}| | {{#if:{{{Artifacts|}}}| | ||
{{!}}- | {{!}}- | ||
! Artifacts | ! Artifacts | ||
{{!}} | {{!}} {{{Artifacts|}}}}} | ||
|- | |- | ||
! Features | ! Features | ||
| {{#arraymap:{{{Features|}}}|,|x|[[Features::x]]}} | | {{#arraymap:{{{Features|}}}|,|x|[[Features::x]]}} | ||
|- | |||
! colspan="2" class="caption" | Visitor Information | |||
|- | |- | ||
! Access | ! Access | ||
| [[Access::{{{Access|}}}]] | | [[Access::{{{Access|}}}]] | ||
|- | |- | ||
! Visitor Information | ! Visitor Information | ||
| [[Visitor Information::{{{Visitor Information|}}}]] | | [[Visitor Information::{{{Visitor Information|}}}]] | ||
|- | |- | ||
! Time Required | ! Time Required | ||
| [[Time Required::{{{Time Required|}}}]] | | [[Time Required::{{{Time Required|}}}]] | ||
{{#if:{{{Website|}}}| | |||
{{!}}- | |||
! Website | |||
{{!}} [[Website::{{{Website|}}}]]}} | |||
|- | |- | ||
! | ! Location | ||
| [[City::{{{City|}}}]] | | [[City::{{{City|}}}]], [[Prefecture::{{{Prefecture|}}}]] | ||
|- | |- | ||
! GPSLocation | ! GPSLocation | ||
| [[GPSLocation::{{{GPSLocation|}}}]] | | [[GPSLocation::{{{GPSLocation|}}}]] | ||
|- | |- | ||
! | ! colspan="2" class="caption" | Admin Visits | ||
| | |||
|- | |- | ||
! Year Visited | ! Year Visited | ||
| {{#arraymap:{{{Year Visited|}}}|,|x|[[Year Visited::x]]}} | | {{#arraymap:{{{Year Visited|}}}|,|x|[[Year Visited::x]]}} | ||
|- | |- | ||
! Visits | ! Visits | ||
| [[Visits::{{{Visits|}}}]] | | [[Visits::{{{Visits|}}}]] | ||
|- | |||
! colspan="2" | {{#display_map:{{#show: {{FULLPAGENAME}}|?GPSLocation}}|service=googlemaps|type=terrain|zoom=6|height=250}} | |||
! | |||
{{ | |||
|} | |} | ||
{{highlightimage}} | |||
{{#if:{{{Notes|}}}| | |||
== Notes == | |||
[[Notes::{{{Notes|}}}]]}} | |||
{{#if:{{{Japanese Notes|}}}| | |||
== Japanese Notes == | |||
[[Japanese Notes::{{{Japanese Notes|}}}]]}} | |||
{{#if:{{{History|}}}| | |||
== History == | |||
[[History::{{{History|}}}]]}} | |||
{{#ask: | |||
[[Category:Castle Photos]] | |||
[[Castle::{{PAGENAME}}]] | |||
|?GPSLocation | |||
|?Short Description | |||
|?{{{fileproperty|}}} | |||
|format=googlemaps | |||
|hidenamespace=on | |||
|limit=100 | |||
|template=InfoWindowProfile | |||
}} | |||
== Gallery == | |||
{{#ask: | |||
[[Category:Castle Photos]] | |||
[[Castle::{{PAGENAME}}]] | |||
|format=gallery | |||
|limit=100 | |||
|link=all | |||
|sort=order | |||
|order=ascending | |||
|headers=hide | |||
|searchlabel=... more photos | |||
|class=sortable wikitable smwtable | |||
|id=castlephotos | |||
|intro={{PAGENAME}} Photos | |||
|navigation=nav | |||
|captionproperty = Castle | |||
|overlay=yes | |||
}} | |||
__NOTOC__ | |||
__NOEDITSECTION__ | |||
[[Category:Castles]] | [[Category:Castles]] | ||
</includeonly> | </includeonly> |
Revision as of 17:42, 11 June 2017
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= }}
Edit the page to see the template text.