Template:Castle: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Line 161: Line 161:
! colspan="2" | {{#display_map:{{#show: {{FULLPAGENAME}}|?GPSLocation}}|service=googlemaps|type=terrain|zoom=6|height=200|icon=Castlemarker.png}}
! colspan="2" | {{#display_map:{{#show: {{FULLPAGENAME}}|?GPSLocation}}|service=googlemaps|type=terrain|zoom=6|height=200|icon=Castlemarker.png}}
|}     
|}     
<table class="table">
<tr>
<th colspan="2">Castle Properties</th>
<tr>
<th>English Name</th>
<td>[[English Name::{{{English Name|}}}]]</td>
</tr>
<tr>
<th>Japanese Name</th>
<td>[[Japanese Name::{{{Japanese Name|}}}]]</td>
</tr>
<tr>
<th>Alternate Names</th>
<td>{{#arraymap:{{{Alternate Names|}}}|,|x|[[Alternate Names::x]]}}</td>
</tr>
<tr>
<th>Founder</th>
<td>{{{Founder|}}}</td>
</tr>
<tr>
<th>Year Founded</th>
<td>{{{Year Founded|}}}</td>
</tr>
<tr>
<th>Castle Type</th>
<td>[[Castle Type::{{{Castle Type|}}}]]</td>
</tr>
<tr>
<th>Castle Condition</th>
<td>[[Castle Condition::{{{Castle Condition|}}}]]</td>
</tr>
<tr>
<th>Designations</th>
<td>{{#arraymap:{{{Designations|}}}|,|x|[[Designations::x]]}}</td>
</tr>
<tr>
<th>Historical Period</th>
<td>[[Historical Period::{{{Historical Period|}}}]]</td>
</tr>
{{#if:{{{Main Keep Structure|}}}|
<tr>
<th>Main Keep Structure</th>
<td>{{{Main Keep Structure|}}}}}</td>
</tr>
{{#if:{{{Year Reconstructed|}}}|
<tr>
<th>Year Reconstructed
</th>
<td>{{{Year Reconstructed|}}}}}</td>
</tr>
{{#if:{{{Artifacts|}}}|
<tr>
<th>Artifacts</th>
<td>{{{Artifacts|}}}}}</td>
</tr>
<tr>
<th>Features</th>
<td>{{#arraymap:{{{Features|}}}|,|x|[[Features::x]]}}</td>
</tr>
<tr>
<th colspan="2">Visitor Information</th>
</tr>
<tr>
<th>Access</th>
<td>[[Access::{{{Access|}}}]]</td>
</tr>
<tr>
<th>Visitor Information</th>
<td>[[Visitor Information::{{{Visitor Information|}}}]]</td>
</tr>
<tr>
<th>Time Required</th>
<td>[[Time Required::{{{Time Required|}}}]]
</td>
</tr>
{{#if:{{{Website|}}}|
<tr>
<th>Website</th>
<td>[[Website::{{{Website|}}}]]}}</td>
</tr>
<tr>
<th>Location</th>
<td>[[City::{{{City|}}}]], [[Prefecture::{{{Prefecture|}}}]]</td>
</tr>
<tr>
<th>Coordinates</th>
<td>[[GPSLocation::{{{GPSLocation|}}}]]</td>
</tr>
<tr>
<td colspan="2">
{{#display_map:{{#show: {{FULLPAGENAME}}|?GPSLocation}}|service=googlemaps|type=terrain|zoom=6|height=200|icon=Castlemarker.png}}
|}   
</td>
</tr>
<tr>
<th colspan="2">Admin</th>
</tr>
<tr>
<th>Year Visited</th>
<td>{{#arraymap:{{{Year Visited|}}}|,|x|[[Year Visited::x]]}}</td>
</tr>
<tr>
<th>Visits</th>
<td>[[Visits::{{{Visits|}}}]]</td>
</tr>
<tr>
<th>Added Jcastle</th>
<td>[[AddedJcastle::{{{AddedJcastle|}}}]]</td>
</tr>
</table>


</div>
</div>

Revision as of 18:23, 13 January 2018

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=
|Castle Type=
|Castle Condition=
|Designations=
|Historical Period=
|Main Keep Structure=
|Year Reconstructed=
|Artifacts=
|Features=
|Access=
|Visitor Information=
|Time Required=
|City=
|Prefecture=
|GPSLocation=
|Notes=
|History=
|Year Visited=
|Japanese Notes=
|Visits=
|Website=
|castleElev=
|ekiLatLng=
|ekiElev=
|elevChange=
|kamon=
|KamonFam=
|AddedJcastle=
}}

Edit the page to see the template text.