Template:Samurai Homes: Difference between revisions

From Jcastle.info
(Created blank page)
 
No edit summary
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
This is the "Samurai Homes" template.
It should be called in the following format:
<pre>
{{Samurai Homes
|English Name=
|Japanese Name=
|Residence Type=
|Year=
|City=
|Prefecture=
|GPSLocation=
|Background=
|Website=
|Samurai Residence Features=
|Visitor Information=
|Castle=
|Samurai Residence Designations=
|AddedJcastle=
|Visits=
|Contributor=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>{{#set:Background={{{Background|}}}}}{{#set:Contributor={{{Contributor|}}}}}
<p class="extractsummary3">{{#sub:{{{Background|}}}|0|300}}</p>
<div class="row">
    <div class="col-md-8">
{{highlightimageSH}}


<div class="card">
<h5 class="card-header">Background</h5>
<div class="card-body">
{{{Background|}}}
</div>
</div>
<div class="card">
<h5 class="card-header">Gallery</h5>
<div class="card-body-new2">
{{#ask:
[[Category:Castle Photos]]
[[Samurai Home::{{PAGENAME}}]]
|?Short Description
|sort=order
|link=none
|format=template
|template=gallerythumbs
|order=ascending
}}
</div>
</div>
</div>
    <div class="col-md-4">
<table class="table table-sm castleinfobox">
<tr>
<th colspan="2" class="caption">{{{English Name|}}} Profile</th>
<tr>
<th class="col-md-2">English Name</th>
<td class="col-md-2">[[English Name::{{{English Name|}}}]]</td>
</tr>
<tr>
<th>Japanese Name</th>
<td>[[Japanese Name::{{{Japanese Name|}}}]]</td>
</tr>
<tr>
<th>Year</th>
<td>{{{Year|}}}</td>
</tr>
<tr>
<th>Residence Type</th>
<td>[[Residence Type::{{{Residence Type|}}}]]</td>
</tr>
{{#if:{{{Samurai Residence Designations|}}}|
<tr>
<th>Designations</th>
<td>{{#arraymap:{{{Samurai Residence Designations|}}}|,|x|[[Samurai Residence Designations::x]]}}</td>
</tr>
}}
<tr>
<th>Features</th>
<td>{{#arraymap:{{{Samurai Residence Features|}}}|,|x|[[Samurai Residence Features::x]]}}</td>
</tr>
<tr>
<th>Visitor Information</th>
<td>[[Visitor Information::{{{Visitor Information|}}}]]</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>Castle</th>
<td>[[Castle::{{{Castle|}}}]]</td>
</tr>
<tr>
<th>Coordinates</th>
<td>[[GPSLocation::{{{GPSLocation|}}}]]</td>
</tr>
<tr>
<td colspan="2" class="caption">{{{Castle|}}} and nearby Samurai Homes</td>
</tr>
<tr>
<td colspan="2">
{{#compound_query:
[[{{{Castle|}}}]];?GPSLocation;icon=Castlemarker.png
|[[Category:Samurai Homes]][[Castle::{{{Castle|}}}]];?GPSLocation;icon=Bukeyashiki.png;limit=500
|service=leaflet
|layers=Esri.WorldTopoMap
|layer=Esri.WorldTopoMap
}}
</td>
</tr>
<tr>
<td colspan="2" class="caption">Admin</td>
</tr>
<tr>
<th>Visits</th>
<td>[[Visits::{{{Visits|}}}]]</td>
</tr>
<tr>
<th>Added Jcastle</th>
<td>[[AddedJcastle::{{{AddedJcastle|}}}]]</td>
</tr>
{{#if:{{{Contributor|}}}|
<tr>
<th>Contributor</th>
<td>[[User:{{{Contributor|}}}|{{{Contributor|}}}]]</td>
</tr>
}}
</table>
</div>
</div>
<div class="row">
    <div class="col-md-12">
<vote type=1 />
<comments />
[[Category:Samurai Homes]]
    </div>
</div>
__NOTOC__
__NOEDITSECTION__
</includeonly>

Latest revision as of 17:50, 10 December 2024

This is the "Samurai Homes" template. It should be called in the following format:

{{Samurai Homes
|English Name=
|Japanese Name=
|Residence Type=
|Year=
|City=
|Prefecture=
|GPSLocation=
|Background=
|Website=
|Samurai Residence Features=
|Visitor Information=
|Castle=
|Samurai Residence Designations=
|AddedJcastle=
|Visits=
|Contributor=
}}

Edit the page to see the template text.