Template:Castle: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Line 46: Line 46:
{{highlightimage}}
{{highlightimage}}
{{#if:{{{History|}}}|
{{#if:{{{History|}}}|
<div class="panel panel-default">
<div class="card">
<div class="panel-heading"><h3 class="panel-title">History</h3></div>
<h5 class="card-header">History</h5>
    <div class="panel-body">
<div class="card-body">
{{{History|}}}}}
{{{History|}}}}}
  </div>
</div>
</div>
</div>
 


{{#if:{{{Notes|}}}|
{{#if:{{{Notes|}}}|
<div class="panel panel-default">
<div class="card">
<div class="panel-heading"><h3 class="panel-title">Visit Notes</h3></div>
<h5 class="card-header">Visit Notes</h5>
    <div class="panel-body">
<div class="card-body">
{{{Notes|}}}}}
{{{Notes|}}}}}
  </div>
{{#if:{{{Japanese Notes|}}}|
</div>
<br />
{{{Japanese Notes|}}}}}
</div>
</div>
 


{{#ask:
{{#ask:
Line 79: Line 84:
}}
}}


<div class="panel panel-default">
  <div class="panel-heading"><h3 class="panel-title">Gallery</h3></div>
    <div class="panel-body">


<div class="card">
<h5 class="card-header">Gallery</h5>
<div class="card-body-new2">
{{#ask:
{{#ask:
[[Category:Castle Photos]]
[[Category:Castle Photos]]
Line 95: Line 100:
  |order=ascending
  |order=ascending
  |widths=145
  |widths=145
|class=galleryThumb
|perrow=4
}}
}}
</div>
</div>
</div>
</div>


{{#ask:
{{#ask:
Line 111: Line 118:
  |outrotemplate=Samurai Home List Out
  |outrotemplate=Samurai Home List Out
}}
}}
</div>
</div>


     <div class="col-md-4">
     <div class="col-md-4">
<table class="table table-condensed infobox">
<table class="table table-sm castleinfobox">
<tr>
<tr>
<th colspan="2" class="caption">Castle Profile</th>
<th colspan="2" class="caption">Castle Profile</th>
<tr>
<tr>
<td class="col-md-2">'''English Name'''</td>
<th class="col-md-2">English Name</th>
<td class="col-md-2">[[English Name::{{{English Name|}}}]]</td>
<td class="col-md-2">[[English Name::{{{English Name|}}}]]</td>
</tr>
</tr>
Line 166: Line 172:
{{#if:{{{Year Reconstructed|}}}|
{{#if:{{{Year Reconstructed|}}}|
<tr>
<tr>
<th>Year Reconstructed
<th>Year Reconstructed</th>
</th>
<td>{{{Year Reconstructed|}}}</td>
<td>{{{Year Reconstructed|}}}</td>
</tr>
</tr>

Revision as of 11:47, 22 August 2021

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=
|Contributor=
}}

Edit the page to see the template text.