Template:Castle: Difference between revisions
From Jcastle.info
No edit summary |
(Generated from a page schema) |
||
Line 19: | Line 19: | ||
|Time Required= | |Time Required= | ||
|Website= | |Website= | ||
|Prefecture= | |Prefecture= | ||
|Castle Type= | |Castle Type= | ||
|Castle Condition= | |Castle Condition= | ||
|Historical Period= | |Historical Period= | ||
|Historical | |Historical Designations= | ||
|Admin Rating= | |Admin Rating= | ||
|Designations= | |Historical Designations= | ||
|Notes= | |||
|History= | |||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly>{{#set:Romaji Name={{{Romaji Name|}}}|Coordinates={{{Coordinates|}}}|}} | ||
{| class="wikitable" | |||
{{#set:Romaji Name={{{Romaji Name|}}}|Coordinates={{{Coordinates | ! Name in English | ||
! | |||
| [[English Name::{{{English Name|}}}]] | | [[English Name::{{{English Name|}}}]] | ||
{{#if:{{{Japanese Name|}}}| | {{#if:{{{Japanese Name|}}}| | ||
{{!}}- | {{!}}- | ||
! Japanese | ! Name in Japanese (optional) | ||
{{!}} [[Japanese Name::{{{Japanese Name|}}}]]}} | {{!}} [[Japanese Name::{{{Japanese Name|}}}]]}} | ||
{{#if:{{{Alternate Names|}}}| | {{#if:{{{Alternate Names|}}}| | ||
Line 50: | Line 43: | ||
! Alternate Names | ! Alternate Names | ||
{{!}} [[Alternate Names::{{{Alternate Names|}}}]]}} | {{!}} [[Alternate Names::{{{Alternate Names|}}}]]}} | ||
{{#if:{{{Founder|}}}| | {{#if:{{{Founder|}}}| | ||
{{!}}- | {{!}}- | ||
! Founder | ! Founder | ||
{{!}} [[Founder::{{{Founder|}}}]]}} | {{!}} [[Founder::{{{Founder|}}}]]}} | ||
{{#if:{{{Year Founded|}}}| | {{#if:{{{Year Founded|}}}| | ||
{{!}}- | {{!}}- | ||
! Year Founded | ! Year Founded | ||
{{!}} [[Year Founded::{{{Year Founded|}}}]]}}{{#if:{{{Year Reconstructed|}}}| | {{!}} [[Year Founded::{{{Year Founded|}}}]]}} | ||
{{#if:{{{Year Reconstructed|}}}| | |||
{{!}}- | {{!}}- | ||
! Year Reconstructed | ! Year Reconstructed | ||
Line 88: | Line 63: | ||
! Artifacts | ! Artifacts | ||
{{!}} [[Artifacts::{{{Artifacts|}}}]]}} | {{!}} [[Artifacts::{{{Artifacts|}}}]]}} | ||
{{#if:{{{ | {{#if:{{{City|}}}| | ||
{{!}}- | {{!}}- | ||
! | ! City | ||
{{!}} [[ | {{!}} [[City::{{{City|}}}]]}} | ||
{{#if:{{{Access|}}}| | {{#if:{{{Access|}}}| | ||
{{!}}- | {{!}}- | ||
Line 128: | Line 77: | ||
{{#if:{{{Time Required|}}}| | {{#if:{{{Time Required|}}}| | ||
{{!}}- | {{!}}- | ||
! Time (mins) | ! Time Required (mins) | ||
{{!}} [[Time Required::{{{Time Required|}}}]]}} | {{!}} [[Time Required::{{{Time Required|}}}]]}} | ||
{{#if:{{{Website|}}}| | {{#if:{{{Website|}}}| | ||
Line 134: | Line 83: | ||
! Website | ! Website | ||
{{!}} [[Website::{{{Website|}}}]]}} | {{!}} [[Website::{{{Website|}}}]]}} | ||
{{#if:{{{Prefecture|}}}| | |||
{{!}}- | |||
! Prefecture | |||
{{!}} [[Prefecture::{{{Prefecture|}}}]]}} | |||
{{#if:{{{Castle Type|}}}| | |||
{{!}}- | |||
! Castle Type | |||
{{!}} [[Castle Type::{{{Castle Type|}}}]]}} | |||
{{#if:{{{Castle Condition|}}}| | |||
{{!}}- | |||
! Castle Condition | |||
{{!}} [[Castle Condition::{{{Castle Condition|}}}]]}} | |||
{{#if:{{{Historical Period|}}}| | |||
{{!}}- | |||
! Historical Period | |||
{{!}} [[Historical Period::{{{Historical Period|}}}]]}} | |||
{{#if:{{{Historical Designations|}}}| | |||
{{!}}- | |||
! Historical Designations | |||
{{!}} [[Historical Designations::{{{Historical Designations|}}}]]}} | |||
{{#if:{{{Admin Rating|}}}| | {{#if:{{{Admin Rating|}}}| | ||
{{!}}- | {{!}}- | ||
Line 139: | Line 108: | ||
{{!}} [[Admin Rating::{{{Admin Rating|}}}]]}} | {{!}} [[Admin Rating::{{{Admin Rating|}}}]]}} | ||
|- | |- | ||
! | ! Historical Designations | ||
| {{#arraymap:{{{Historical Designations|}}}|,|x|[[Historical Designations::x]]}} | |||
{{#if:{{{Notes|}}}| | |||
{{!}}- | |||
! Notes | |||
{{!}} [[Notes::{{{Notes|}}}]]}} | |||
|- | |||
! History | |||
| [[History::{{{History|}}}]] | |||
|} | |} | ||
[[Category:Castles]] | [[Category:Castles]] | ||
</includeonly> | </includeonly> |
Revision as of 21:51, 28 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= |Historical Designations= |Admin Rating= |Historical Designations= |Notes= |History= }}
Edit the page to see the template text.