Template:Castle: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 30: Line 30:
|Visits=
|Visits=
|Website=
|Website=
|Yamaptrail=
|YoutubeJcastle=
|castleElev=
|castleElev=
|ekiLatLng=
|ekiLatLng=
Line 43: Line 45:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{#set:Notes={{{Notes|}}}}}{{#set:Contributor={{{Contributor|}}}}}
</noinclude><includeonly>{{#set:Notes={{{Notes|}}}}}{{#set:Contributor={{{Contributor|}}}}}
<p class="extractsummary3">{{#sub:{{{Notes|}}}|0|300}}</p>
<div class="row">
<div class="row">
     <div class="col-md-8">
     <div class="col-md-8">
Line 57: Line 61:
{{#if:{{{Notes|}}}|
{{#if:{{{Notes|}}}|
<div class="card">
<div class="card">
<h5 class="card-header">Visit Notes</h5>
<h5 class="card-header">Field Notes</h5>
<div class="card-body">
<div class="card-body">
{{{Notes|}}}}}
{{{Notes|}}}}}
{{#if:{{{Japanese Notes|}}}|
<br />
{{{Japanese Notes|}}}}}
</div>
</div>
</div>
</div>
Line 194: Line 195:
</tr>
</tr>
<tr>
<tr>
<th>Visitor Information</th>
<th>Hours</th>
<td>[[Visitor Information::{{{Visitor Information|}}}]]</td>
<td>[[Visitor Information::{{{Visitor Information|}}}]]</td>
</tr>
</tr>
Line 204: Line 205:
{{#if:{{{Website|}}}|
{{#if:{{{Website|}}}|
<tr>
<tr>
<th>Website</th>
<th>URL</th>
<td>[[Website::{{{Website|}}}]]</td>
<td>[{{{Website|}}} Castle Website]</td>
</tr>
}}
{{#if: {{{Yamaptrail|}}} |
<tr>
<th>Hiking Trail</th>
<td>[{{{Yamaptrail}}} View on Yamap]</td>
</tr>
}}
{{#if: {{{YoutubeJcastle|}}} |
<tr>
<th>Jcastle Video</th>
<td>[{{{YoutubeJcastle}}} Jcastle YouTube]</td>
</tr>
</tr>
}}
}}
Line 218: Line 231:
<tr>
<tr>
<td colspan="2">
<td colspan="2">
{{#display_map:{{#show: {{FULLPAGENAME}}|?GPSLocation}}|service=googlemaps|type=terrain|zoom=6|height=200|controls=|icon=Castlemarker.png}}
{{#display_map:{{#show: {{FULLPAGENAME}}|?GPSLocation}}|service=leaflet|layer=CartoDB.Positron|zoom=6|height=200|controls=|icon=Castlemarker.png}}
</td>
</td>
</tr>
</tr>
Line 276: Line 289:
<vote type=1 />
<vote type=1 />
<comments />
<comments />
[[Category:Castles]]     
[[Category:Castles]]     
     </div>
     </div>

Latest revision as of 11:41, 24 May 2025

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=
|Yamaptrail=
|YoutubeJcastle=
|castleElev=
|ekiLatLng=
|ekiElev=
|elevChange=
|kamon=
|KamonFam=
|AddedJcastle=
|Contributor=
|Castle Collection=
}}

Edit the page to see the template text.