Difference between revisions of "Template:Castle"

From Jcastle.info
(4 intermediate revisions by the same user not shown)
Line 38: Line 38:
 
|AddedJcastle=
 
|AddedJcastle=
 
|Contributor=
 
|Contributor=
 +
|Castle Collection=
 
}}
 
}}
 
</pre>
 
</pre>
Line 89: Line 90:
 
<h5 class="card-header">Gallery</h5>
 
<h5 class="card-header">Gallery</h5>
 
<div class="card-body-new2">
 
<div class="card-body-new2">
 +
<ul>
 
{{#ask:
 
{{#ask:
 
[[Category:Castle Photos]]
 
[[Category:Castle Photos]]
Line 94: Line 96:
 
[[Hide::No]]
 
[[Hide::No]]
 
  |?Short Description
 
  |?Short Description
|autocaptions=no
 
|captionproperty=Short Description
 
|format=gallery
 
|overlay=yes
 
 
  |sort=order
 
  |sort=order
 +
|link=none
 +
|format=template
 +
|template=gallerythumbs
 
  |order=ascending
 
  |order=ascending
|widths=145
+
}}</div>
|class=galleryThumb
 
|perrow=4
 
}}
 
</div>
 
 
</div>
 
</div>
  
Line 222: Line 219:
 
</td>
 
</td>
 
</tr>
 
</tr>
 +
{{#if:{{{Castle Collection|}}}|
 +
<tr>
 +
<th>Collections</th>
 +
<td>{{#arraymap:{{{Castle Collection|}}}|,|x|[[Castle Collection::x]]}}</td>
 +
</tr>
 +
}}
 
<tr>
 
<tr>
 
<th colspan="2" class="caption">Admin</th>
 
<th colspan="2" class="caption">Admin</th>

Revision as of 13:54, 13 August 2022

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=
|Castle Collection=
}}

Edit the page to see the template text.