Template:Castle: Difference between revisions

From Jcastle.info
No edit summary
(Generated from a page schema)
Line 31: Line 31:
|Historical Designation=
|Historical Designation=
|Admin Rating=
|Admin Rating=
|Historical Designations=
|Designations=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude><includeonly>{{#set:Romaji Name={{{Romaji Name|}}}|has stone walls={{{has stone walls|}}}|has buildings={{{has buildings|}}}|}}
<includeonly>
 
{{#display_map:{{#show: {{FULLPAGENAME}}|?GPS}}|width=280|height=200|service=googlemaps|type=terrain|zoom=5}}
 
 
{{#set:Romaji Name={{{Romaji Name|}}}|}}
{| class="wikitable"
{| class="wikitable"
! Name in English
! Name in English
Line 52: Line 46:
! Alternate Names
! Alternate Names
{{!}} [[Alternate Names::{{{Alternate Names|}}}]]}}  
{{!}} [[Alternate Names::{{{Alternate Names|}}}]]}}  
|-
{{#if:{{{Founder|}}}|
{{!}}-
! Founder
! Founder
| [[Founder::{{{Founder|}}}]]  
{{!}} [[Founder::{{{Founder|}}}]]}}
|-
{{#if:{{{Year Founded|}}}|
{{!}}-
! Year Founded
! Year Founded
| [[Year Founded::{{{Year Founded|}}}]]  
{{!}} [[Year Founded::{{{Year Founded|}}}]]}}
{{#if:{{{Year Reconstructed|}}}|
{{#if:{{{Year Reconstructed|}}}|
{{!}}-
{{!}}-
! Year Reconstructed
! Year Reconstructed
{{!}} [[Year Reconstructed::{{{Year Reconstructed|}}}]]}}  
{{!}} [[Year Reconstructed::{{{Year Reconstructed|}}}]]}}  
|-
{{#if:{{{Main Keep Structure|}}}|
{{!}}-
! Main Keep Structure
! Main Keep Structure
| [[Main Keep Structure::{{{Main Keep Structure|}}}]]  
{{!}} [[Main Keep Structure::{{{Main Keep Structure|}}}]]}}
|-
{{#if:{{{Artifacts|}}}|
{{!}}-
! Artifacts
! Artifacts
| [[Artifacts::{{{Artifacts|}}}]]  
{{!}} [[Artifacts::{{{Artifacts|}}}]]}}
{{#if:{{{City|}}}|
{{#if:{{{City|}}}|
{{!}}-
{{!}}-
! City
! City
{{!}} [[City::{{{City|}}}]]}}  
{{!}} [[City::{{{City|}}}]]}}  
|-
{{#if:{{{GPS|}}}|
{{!}}-
! Coordinates
! Coordinates
| [[GPS::{{{GPS|}}}]]  
{{!}} [[GPS::{{{GPS|}}}]]}}
|-
{{#if:{{{Access|}}}|
{{!}}-
! Access
! Access
| [[Access::{{{Access|}}}]]  
{{!}} [[Access::{{{Access|}}}]]}}
|-
{{#if:{{{Visitor Information|}}}|
{{!}}-
! Visitor Information
! Visitor Information
| [[Visitor Information::{{{Visitor Information|}}}]]  
{{!}} [[Visitor Information::{{{Visitor Information|}}}]]}}
|-
{{#if:{{{Time Required|}}}|
{{!}}-
! Time Required (mins)
! Time Required (mins)
| [[Time Required::{{{Time Required|}}}]]  
{{!}} [[Time Required::{{{Time Required|}}}]]}}
|-
{{#if:{{{Website|}}}|
{{!}}-
! Website
! Website
| [[Website::{{{Website|}}}]]
{{!}} [[Website::{{{Website|}}}]]}}  
{{#if:{{{has stone walls|}}}|
{{!}}-
! Has Stone Walls
{{!}} [[has stone walls::{{{has stone walls|}}}]]}}  
|-
! Has Buildings
| [[has buildings::{{{has buildings|}}}]]
{{#if:{{{has Important Cultural Properties|}}}|
{{#if:{{{has Important Cultural Properties|}}}|
{{!}}-
{{!}}-
Line 106: Line 102:
! is a World Heritage Site
! is a World Heritage Site
{{!}} [[is a World Heritage Site::{{{is a World Heritage Site|}}}]]}}  
{{!}} [[is a World Heritage Site::{{{is a World Heritage Site|}}}]]}}  
|-
{{#if:{{{is a Top 100 Castle|}}}|
{{!}}-
! is a Top 100 Castle
! is a Top 100 Castle
| [[is a Top 100 Castle::{{{is a Top 100 Castle|}}}]]  
{{!}} [[is a Top 100 Castle::{{{is a Top 100 Castle|}}}]]}}
|-
|-
! Prefecture
! Prefecture
Line 118: Line 115:
! Castle Condition
! Castle Condition
| [[Castle Condition::{{{Castle Condition|}}}]]  
| [[Castle Condition::{{{Castle Condition|}}}]]  
|-
{{#if:{{{Historical Period|}}}|
{{!}}-
! Historical Period
! Historical Period
| [[Historical Period::{{{Historical Period|}}}]]  
{{!}} [[Historical Period::{{{Historical Period|}}}]]}}
{{#if:{{{Historical Designation|}}}|
{{#if:{{{Historical Designation|}}}|
{{!}}-
{{!}}-
! Historical Designation
! Historical Designation
{{!}} [[Historical Designation::{{{Historical Designation|}}}]]}}  
{{!}} [[Historical Designation::{{{Historical Designation|}}}]]}}  
|-
{{#if:{{{Admin Rating|}}}|
{{!}}-
! Admin Rating
! Admin Rating
| [[Admin Rating::{{{Admin Rating|}}}]]  
{{!}} [[Admin Rating::{{{Admin Rating|}}}]]}}
|-
|-
! Historical Designations
! Designations
| {{#arraymap:{{{Historical Designations|}}}|,|x|[[Historical Designations::x]]}}
| {{#arraymap:{{{Designations|}}}|,|x|[[Designations::x]]}}
|}
|}


[[Category:Castles]]
[[Category:Castles]]
</includeonly>
</includeonly>

Revision as of 12:34, 12 February 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=
|Year Reconstructed=
|Main Keep Structure=
|Artifacts=
|City=
|GPS=
|Access=
|Visitor Information=
|Time Required=
|Website=
|has stone walls=
|has buildings=
|has Important Cultural Properties=
|has National Treasures=
|is a World Heritage Site=
|is a Top 100 Castle=
|Prefecture=
|Castle Type=
|Castle Condition=
|Historical Period=
|Historical Designation=
|Admin Rating=
|Designations=
}}

Edit the page to see the template text.