Template:Castle: Difference between revisions
(Generated from a page schema) |
No edit summary |
||
Line 41: | Line 41: | ||
{{!}}- | {{!}}- | ||
! Alternate Names | ! Alternate Names | ||
{{!}} {{{Alternate Names|}}} | {{!}} {{{Alternate Names|}}}}} | ||
|- | |||
! Founder | ! Founder | ||
| {{{Founder|}}} | | {{{Founder|}}} | ||
Line 51: | Line 51: | ||
{{!}}- | {{!}}- | ||
! Year Reconstructed | ! Year Reconstructed | ||
{{!}} {{{Year Reconstructed|}}} | {{!}} {{{Year Reconstructed|}}}}} | ||
{{#if:{{{Main Keep Structure|}}}| | |||
{{!}}- | {{!}}- | ||
! Main Keep Structure | ! Main Keep Structure | ||
{{!}} {{{Main Keep Structure|}}} | {{!}} {{{Main Keep Structure|}}}}} | ||
{{#if:{{{Artifacts|}}}| | |||
{{!}}- | {{!}}- | ||
! Artifacts | ! Artifacts | ||
{{!}} {{{Artifacts|}}} | {{!}} {{{Artifacts|}}}}} | ||
|- | |||
! City | ! City | ||
| {{{City|}}} | | {{{City|}}} | ||
Line 66: | Line 66: | ||
{{!}}- | {{!}}- | ||
! Coordinates | ! Coordinates | ||
{{!}} {{#cargo_display_map:point= {{{Coordinates|}}} }} | {{!}} {{#cargo_display_map:point= {{{Coordinates|}}}}}}} | ||
|- | |||
! Access | ! Access | ||
| {{{Access|}}} | | {{{Access|}}} | ||
Line 79: | Line 79: | ||
{{!}}- | {{!}}- | ||
! Website | ! Website | ||
{{!}} {{{Website|}}} | {{!}} {{{Website|}}}}} | ||
|- | |||
! Prefecture | ! Prefecture | ||
| [[{{{Prefecture|}}}]] | | [[{{{Prefecture|}}}]] | ||
Line 95: | Line 95: | ||
{{!}}- | {{!}}- | ||
! Admin Rating | ! Admin Rating | ||
{{!}} {{{Admin Rating|}}} | {{!}} {{{Admin Rating|}}}}} | ||
|- | |||
! Historical Designations | ! Historical Designations | ||
| {{#arraymap:{{{Historical Designations|}}}|,|x|[[x]]}} | | {{#arraymap:{{{Historical Designations|}}}|,|x|[[x]]}} |
Revision as of 16:18, 2 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= |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. {{#cargo_declare:_table=Castles|English_Name=String|Japanese_Name=String|Romaji_Name=String|Alternate_Names=List (,) of Text|Founder=String|Year_Founded=String|Year_Reconstructed=String|Main_Keep_Structure=String|Artifacts=Text|City=String|Coordinates=Coordinates|Access=Text|Visitor_Information=Text|Time_Required=Integer|Website=URL|Prefecture=Page (allowed values=Tokyo,Gunma,Nagano,Saitama,Yamanashi,Ibaraki,Tochigi,Chiba,Gifu)|Castle_Type=Page (allowed values=Mountaintop,Hilltop,Flatland)|Castle_Condition=Page (allowed values=Original main keep,Reconstructed main keep,No main keep but other buildings,No main keep ruins only)|Historical_Period=Page (allowed values=Pre-Edo Period,Edo Period)|Admin_Rating=Float|Historical_Designations=List (,) of Page (allowed values=National Historical Site,Prefectural Historical Site,Local Historical Site,Top 100 Castles,Next 100 Castles,UNESCO World Heritage Site,has Important Cultural Properties,has National Treasures)|Notes=Text|History=Text}}