Template:Castle: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Line 61: Line 61:
! Artifacts
! Artifacts
{{!}} {{{Artifacts|}}}}}
{{!}} {{{Artifacts|}}}}}
|-
! City
| {{{City|}}}
|-
! Access
| {{{Access|}}}
|-
! Visitor Information
| {{{Visitor Information|}}}
|-
! Time Required
| {{{Time Required|}}}
{{#if:{{{Website|}}}|
{{!}}-
! Website
{{!}} {{{Website|}}}}}
|-
! Prefecture
| [[{{{Prefecture|}}}]]
|-
|-
! Castle Type
! Castle Type
Line 89: Line 70:
! Historical Period
! Historical Period
| [[{{{Historical Period|}}}]]
| [[{{{Historical Period|}}}]]
|-
! Historical Designations
| {{#arraymap:{{{Historical Designations|}}}|,|x|[[x]]}}
|-
! City
| {{{City|}}}
|-
! Prefecture
| [[{{{Prefecture|}}}]]
{{#if:{{{Admin Rating|}}}|
{{#if:{{{Admin Rating|}}}|
{{!}}-
{{!}}-
Line 94: Line 84:
{{!}} {{{Admin Rating|}}}}}
{{!}} {{{Admin Rating|}}}}}
|-
|-
! colspan="2" class="caption" | Castle Properties
! colspan="2" class="caption" | Visitor Information
|-
! Access
| {{{Access|}}}
|-
! Time Required
| {{{Time Required|}}}
|-
|-
! Historical Designations
! Hours & Admission
| {{#arraymap:{{{Historical Designations|}}}|,|x|[[x]]}}
| {{{Visitor Information|}}}
{{#if:{{{Website|}}}|
{{!}}-
! Website
{{!}} {{{Website|}}}}}
|-
|-
! colspan="2" | {{#cargo_display_map:width=100%|height=200px|service=googlemaps|mapTypeId=terrain|zoom=6 | point={{{Coordinates|}}}}}
! colspan="2" | {{#cargo_display_map:width=100%|height=200px|service=googlemaps|mapTypeId=terrain|zoom=6 | point={{{Coordinates|}}}}}

Revision as of 11:12, 3 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}}