Template:Castle: Difference between revisions

From Jcastle.info
(Generated from a page schema)
(Generated from a page schema)
Line 30: Line 30:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{#set:Romaji Name={{{Romaji Name|}}}|Coordinates={{{Coordinates|}}}|}}
</noinclude><includeonly>{| class="wikitable"
{| class="wikitable"
! Name in English
! Name in English
| [[English Name::{{{English Name|}}}]]
| {{{English Name|}}}
{{#if:{{{Japanese Name|}}}|
{{#if:{{{Japanese Name|}}}|
{{!}}-
{{!}}-
! Name in Japanese (optional)
! Name in Japanese (optional)
{{!}} [[Japanese Name::{{{Japanese Name|}}}]]}}  
{{!}} {{{Japanese Name|}}}
}}{{{Romaji Name|}}}
{{#if:{{{Alternate Names|}}}|
{{#if:{{{Alternate Names|}}}|
{{!}}-
{{!}}-
! Alternate Names
! Alternate Names
{{!}} [[Alternate Names::{{{Alternate Names|}}}]]}}  
{{!}} {{{Alternate Names|}}}
{{#if:{{{Founder|}}}|
}}{{#if:{{{Founder|}}}|
{{!}}-
{{!}}-
! Founder
! Founder
{{!}} [[Founder::{{{Founder|}}}]]}}  
{{!}} {{{Founder|}}}
{{#if:{{{Year Founded|}}}|
}}{{#if:{{{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|}}}
{{#if:{{{Main Keep Structure|}}}|
}}{{#if:{{{Main Keep Structure|}}}|
{{!}}-
{{!}}-
! Main Keep Structure
! Main Keep Structure
{{!}} [[Main Keep Structure::{{{Main Keep Structure|}}}]]}}  
{{!}} {{{Main Keep Structure|}}}
{{#if:{{{Artifacts|}}}|
}}{{#if:{{{Artifacts|}}}|
{{!}}-
{{!}}-
! Artifacts
! Artifacts
{{!}} [[Artifacts::{{{Artifacts|}}}]]}}  
{{!}} {{{Artifacts|}}}
{{#if:{{{City|}}}|
}}{{#if:{{{City|}}}|
{{!}}-
{{!}}-
! City
! City
{{!}} [[City::{{{City|}}}]]}}  
{{!}} {{{City|}}}
}}{{#cargo_display_map:point= {{{Coordinates|}}} }}
{{#if:{{{Access|}}}|
{{#if:{{{Access|}}}|
{{!}}-
{{!}}-
! Access
! Access
{{!}} [[Access::{{{Access|}}}]]}}  
{{!}} {{{Access|}}}
{{#if:{{{Visitor Information|}}}|
}}{{#if:{{{Visitor Information|}}}|
{{!}}-
{{!}}-
! Visitor Information
! Visitor Information
{{!}} [[Visitor Information::{{{Visitor Information|}}}]]}}  
{{!}} {{{Visitor Information|}}}
{{#if:{{{Time Required|}}}|
}}{{#if:{{{Time Required|}}}|
{{!}}-
{{!}}-
! Time Required (mins)
! Time Required (mins)
{{!}} [[Time Required::{{{Time Required|}}}]]}}  
{{!}} {{{Time Required|}}}
{{#if:{{{Website|}}}|
}}{{#if:{{{Website|}}}|
{{!}}-
{{!}}-
! Website
! Website
{{!}} [[Website::{{{Website|}}}]]}}  
{{!}} {{{Website|}}}
{{#if:{{{Prefecture|}}}|
}}{{#if:{{{Prefecture|}}}|
{{!}}-
{{!}}-
! Prefecture
! Prefecture
{{!}} [[Prefecture::{{{Prefecture|}}}]]}}  
{{!}} {{{Prefecture|}}}
{{#if:{{{Castle Type|}}}|
}}{{#if:{{{Castle Type|}}}|
{{!}}-
{{!}}-
! Castle Type
! Castle Type
{{!}} [[Castle Type::{{{Castle Type|}}}]]}}  
{{!}} {{{Castle Type|}}}
{{#if:{{{Castle Condition|}}}|
}}{{#if:{{{Castle Condition|}}}|
{{!}}-
{{!}}-
! Castle Condition
! Castle Condition
{{!}} [[Castle Condition::{{{Castle Condition|}}}]]}}  
{{!}} {{{Castle Condition|}}}
{{#if:{{{Historical Period|}}}|
}}{{#if:{{{Historical Period|}}}|
{{!}}-
{{!}}-
! Historical Period
! Historical Period
{{!}} [[Historical Period::{{{Historical Period|}}}]]}}  
{{!}} {{{Historical Period|}}}
{{#if:{{{Admin Rating|}}}|
}}{{#if:{{{Admin Rating|}}}|
{{!}}-
{{!}}-
! Admin Rating
! Admin Rating
{{!}} [[Admin Rating::{{{Admin Rating|}}}]]}}  
{{!}} {{{Admin Rating|}}}
|-
}}|-
! Historical Designations
! Historical Designations
| {{#arraymap:{{{Historical Designations|}}}|,|x|[[Historical Designations::x]]}}
| {{{Historical Designations|}}}
{{#if:{{{Notes|}}}|
{{#if:{{{Notes|}}}|
{{!}}-
{{!}}-
! Notes
! Notes
{{!}} [[Notes::{{{Notes|}}}]]}}  
{{!}} {{{Notes|}}}
|-
}}|-
! History
! History
| [[History::{{{History|}}}]]
| {{{History|}}}
|}
|}


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

Revision as of 23:02, 30 May 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=
|Coordinates=
|Access=
|Visitor Information=
|Time Required=
|Website=
|Prefecture=
|Castle Type=
|Castle Condition=
|Historical Period=
|Admin Rating=
|Historical Designations=
|Notes=
|History=
}}

Edit the page to see the template text.