Template:Castle: Difference between revisions

From Jcastle.info
(Blanked the page)
(Generated from a page schema)
Line 1: Line 1:
<noinclude>
This is the "Castle" template.
It should be called in the following format:
<pre>
{{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=
}}
</pre>
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}}
</noinclude><includeonly>{{#cargo_store:_table=Castles|English_Name={{{English Name|}}}|Japanese_Name={{{Japanese Name|}}}|Romaji_Name={{{Romaji Name|}}}|Alternate_Names={{{Alternate Names|}}}|Founder={{{Founder|}}}|Year_Founded={{{Year Founded|}}}|Year_Reconstructed={{{Year Reconstructed|}}}|Main_Keep_Structure={{{Main Keep Structure|}}}|Artifacts={{{Artifacts|}}}|City={{{City|}}}|Coordinates={{{Coordinates|}}}|Access={{{Access|}}}|Visitor_Information={{{Visitor Information|}}}|Time_Required={{{Time Required|}}}|Website={{{Website|}}}|Prefecture={{{Prefecture|}}}|Castle_Type={{{Castle Type|}}}|Castle_Condition={{{Castle Condition|}}}|Historical_Period={{{Historical Period|}}}|Admin_Rating={{{Admin Rating|}}}|Historical_Designations={{{Historical Designations|}}}|Notes={{{Notes|}}}|History={{{History|}}} }}{| class="wikitable"
! English Name
| {{{English Name|}}}
|-
! Japanese Name
| {{{Japanese Name|}}}
{{{Romaji Name|}}}
{{#if:{{{Alternate Names|}}}|
{{!}}-
! Alternate Names
{{!}} {{{Alternate Names|}}}
}}|-
! Founder
| {{{Founder|}}}
|-
! Year Founded
| {{{Year Founded|}}}
{{#if:{{{Year Reconstructed|}}}|
{{!}}-
! Year Reconstructed
{{!}} {{{Year Reconstructed|}}}
}}{{#if:{{{Main Keep Structure|}}}|
{{!}}-
! Main Keep Structure
{{!}} {{{Main Keep Structure|}}}
}}{{#if:{{{Artifacts|}}}|
{{!}}-
! Artifacts
{{!}} {{{Artifacts|}}}
}}|-
! City
| {{{City|}}}
{{#if:{{{Coordinates|}}}|
{{!}}-
! Coordinates
{{!}} {{#cargo_display_map:point= {{{Coordinates|}}} }}
}}|-
! Access
| {{{Access|}}}
|-
! Visitor Information
| {{{Visitor Information|}}}
|-
! Time Required
| {{{Time Required|}}}
{{#if:{{{Website|}}}|
{{!}}-
! Website
{{!}} {{{Website|}}}
}}|-
! Prefecture
| [[{{{Prefecture|}}}]]
|-
! Castle Type
| [[{{{Castle Type|}}}]]
|-
! Castle Condition
| [[{{{Castle Condition|}}}]]
|-
! Historical Period
| [[{{{Historical Period|}}}]]
{{#if:{{{Admin Rating|}}}|
{{!}}-
! Admin Rating
{{!}} {{{Admin Rating|}}}
}}|-
! Historical Designations
| {{#arraymap:{{{Historical Designations|}}}|,|x|[[x]]}}
|-
! Notes
| {{{Notes|}}}
|-
! History
| {{{History|}}}
|}


[[Category:Castles]]
</includeonly>

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