Template:Castle: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Line 52: Line 52:
{{!}}-
{{!}}-
! Year Founded
! Year Founded
{{!}} {{{Year Founded|}}}
{{!}} {{{Year Founded|}}}}}
}}{{#if:{{{Year Reconstructed|}}}|
{{#if:{{{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|}}}}}
}}{{#if:{{{Artifacts|}}}|
{{#if:{{{Artifacts|}}}|
{{!}}-
{{!}}-
! Artifacts
! Artifacts
{{!}} {{{Artifacts|}}}
{{!}} {{{Artifacts|}}}}}
}}{{#if:{{{City|}}}|
{{#if:{{{City|}}}|
{{!}}-
{{!}}-
! City
! City
{{!}} {{{City|}}}
{{!}} {{{City|}}}}}
}}{{#if:{{{Coordinates|}}}|
{{#if:{{{Coordinates|}}}|
{{!}}-
{{!}}-
! Coordinates
! Coordinates
{{!}} {{#cargo_display_map:point= {{{Coordinates|}}} }}
{{!}} {{#cargo_display_map:point= {{{Coordinates|}}}}}}}
}}{{#if:{{{Access|}}}|
{{#if:{{{Access|}}}|
{{!}}-
{{!}}-
! Access
! Access
{{!}} {{{Access|}}}
{{!}} {{{Access|}}}}}
}}{{#if:{{{Visitor Information|}}}|
{{#if:{{{Visitor Information|}}}|
{{!}}-
{{!}}-
! Visitor Information
! Visitor Information
{{!}} {{{Visitor Information|}}}
{{!}} {{{Visitor Information|}}}}}
}}{{#if:{{{Time Required|}}}|
{{#if:{{{Time Required|}}}|
{{!}}-
{{!}}-
! Time Required
! Time Required
{{!}} {{{Time Required|}}}
{{!}} {{{Time Required|}}}}}
}}{{#if:{{{Website|}}}|
{{#if:{{{Website|}}}|
{{!}}-
{{!}}-
! Website
! Website
{{!}} {{{Website|}}}
{{!}} {{{Website|}}}}}
}}{{#if:{{{Prefecture|}}}|
{{#if:{{{Prefecture|}}}|
{{!}}-
{{!}}-
! Prefecture
! Prefecture
{{!}} [[{{{Prefecture|}}}]]
{{!}} [[{{{Prefecture|}}}]]}}
}}{{#if:{{{Castle Type|}}}|
{{#if:{{{Castle Type|}}}|
{{!}}-
{{!}}-
! Castle Type
! Castle Type
{{!}} [[{{{Castle Type|}}}]]
{{!}} [[{{{Castle Type|}}}]]}}
}}{{#if:{{{Castle Condition|}}}|
{{#if:{{{Castle Condition|}}}|
{{!}}-
{{!}}-
! Castle Condition
! Castle Condition
{{!}} [[{{{Castle Condition|}}}]]
{{!}} [[{{{Castle Condition|}}}]]}}
}}{{#if:{{{Historical Period|}}}|
{{#if:{{{Historical Period|}}}|
{{!}}-
{{!}}-
! Historical Period
! Historical Period
{{!}} [[{{{Historical Period|}}}]]
{{!}} [[{{{Historical Period|}}}]]}}
}}{{#if:{{{Admin Rating|}}}|
{{#if:{{{Admin Rating|}}}|
{{!}}-
{{!}}-
! Admin Rating
! Admin Rating
{{!}} {{{Admin Rating|}}}
{{!}} {{{Admin Rating|}}}}}
}}{{#if:{{{Historical Designations|}}}|
{{#if:{{{Historical Designations|}}}|
{{!}}-
{{!}}-
! Historical Designations
! Historical Designations
Line 116: Line 116:
{{!}}-
{{!}}-
! Notes
! Notes
{{!}} {{{Notes|}}}
{{!}} {{{Notes|}}}}}
}}{{#if:{{{History|}}}|
{{#if:{{{History|}}}|
{{!}}-
{{!}}-
! History
! History

Revision as of 16:07, 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}}