Template:Castle: Difference between revisions
From Jcastle.info
(Generated from a page schema) |
(Generated from a page schema) |
||
Line 30: | Line 30: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{| class="wikitable" | {{#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|Castle_Type=Page|Castle_Condition=Page|Historical_Period=Page|Admin_Rating=Float|Historical_Designations=List (,) of Page|Notes=Page|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" | |||
! Name in English | ! Name in English | ||
| {{{English Name|}}} | | {{{English Name|}}} | ||
Line 86: | Line 87: | ||
{{!}}- | {{!}}- | ||
! 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|}}}| | ||
{{!}}- | {{!}}- | ||
Line 105: | Line 106: | ||
}}|- | }}|- | ||
! Historical Designations | ! Historical Designations | ||
| {{{Historical Designations|}}} | | {{#arraymap:{{{Historical Designations|}}}|,|x|[[x]]}} | ||
{{#if:{{{Notes|}}}| | {{#if:{{{Notes|}}}| | ||
{{!}}- | {{!}}- | ||
! Notes | ! Notes | ||
{{!}} {{{Notes|}}} | {{!}} [[{{{Notes|}}}]] | ||
}}|- | }}|- | ||
! History | ! History |
Revision as of 00:04, 31 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= |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|Castle_Type=Page|Castle_Condition=Page|Historical_Period=Page|Admin_Rating=Float|Historical_Designations=List (,) of Page|Notes=Page|History=Text}}