Template:Samurai Homes: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
 
(49 intermediate revisions by the same user not shown)
Line 6: Line 6:
|English Name=
|English Name=
|Japanese Name=
|Japanese Name=
|Residence Type=
|Year=
|Year=
|City=
|City=
Line 12: Line 13:
|Background=
|Background=
|Website=
|Website=
|Samurai Home Features=
|Samurai Residence Features=
|Visitor Information=
|Visitor Information=
|Castle=
|Castle=
|Designations=
|Samurai Residence Designations=
|AddedJcastle=
|Visits=
|Contributor=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>{{#set:Background={{{Background|}}}}}{{#set:Contributor={{{Contributor|}}}}}
! English Name
<p class="extractsummary3">{{#sub:{{{Background|}}}|0|300}}</p>
| [[English Name::{{{English Name|}}}]]  
<div class="row">
|-
    <div class="col-md-8">
! Japanese Name
{{highlightimageSH}}
| [[Japanese Name::{{{Japanese Name|}}}]]  
 
|-
<div class="card">
! Year
<h5 class="card-header">Background</h5>
| {{{Year|}}}
<div class="card-body">
|-
{{{Background|}}}
! City
</div>
| [[City::{{{City|}}}]]  
</div>
|-
 
! Prefecture
 
| [[Prefecture::{{{Prefecture|}}}]]  
<div class="card">
|-
<h5 class="card-header">Gallery</h5>
! GPSLocation
<div class="card-body-new2">
| [[GPSLocation::{{{GPSLocation|}}}]]  
{{#ask:
|-
[[Category:Castle Photos]]
! Background
[[Samurai Home::{{PAGENAME}}]]
| {{{Background|}}}
|?Short Description
|-
|sort=order
! Website
|link=none
| [[Website::{{{Website|}}}]]  
|format=template
|-
|template=gallerythumbs
! Samurai Home Features
|order=ascending
| {{{Samurai Home Features|}}}
}}
|-
</div>
! Visitor Information
</div>
| [[Visitor Information::{{{Visitor Information|}}}]]  
 
|-
 
! Castle
</div>
| [[Castle::{{{Castle|}}}]]  
 
|-
    <div class="col-md-4">
! Designations
<table class="table table-sm castleinfobox">
| {{#arraymap:{{{Designations|}}}|,|x|[[Designations::x]]}}
<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]]
[[Category:Samurai Homes]]
    </div>
</div>
__NOTOC__
__NOEDITSECTION__
</includeonly>
</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.