Template:Samurai Homes: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
 
(30 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=
|AddedJcastle=
|Visits=
|Visits=
|Residence Type=
|Contributor=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly><div class="row">
</noinclude><includeonly>{{#set:Background={{{Background|}}}}}{{#set:Contributor={{{Contributor|}}}}}
<p class="extractsummary3">{{#sub:{{{Background|}}}|0|300}}</p>
<div class="row">
     <div class="col-md-8">
     <div class="col-md-8">
{{highlightimageSH}}
{{highlightimageSH}}
<div class="panel panel-default">
 
<div class="panel-heading">
<div class="card">
<h3 class="panel-title">Background</h3>
<h5 class="card-header">Background</h5>
    </div>
<div class="card-body">
    <div class="panel-body">
{{{Background|}}}
{{{Background|}}}
  </div>
</div>
</div>
</div>




<div class="panel panel-default">
<div class="card">
<div class="panel-heading">
<h5 class="card-header">Gallery</h5>
<h3 class="panel-title">{{{Castle|}}} and nearby Samurai Homes</h3>
<div class="card-body-new2">
    </div>
{{#ask:
    <div class="panel-body">
[[Category:Castle Photos]]
 
[[Samurai Home::{{PAGENAME}}]]
{{#compound_query:
|?Short Description
[[Category:Castles]][[English Name::{{{Castle|}}}]];?GPSLocation;icon=Castlemarker.png
|sort=order
|[[Category:Samurai Homes]][[Castle::{{{Castle|}}}]];?GPSLocation;icon=bukeyashiki.png;limit=500
|link=none
  |format=googlemaps
  |format=template
  |type=terrain
|template=gallerythumbs
  |order=ascending
}}
}}
  </div>
</div>
</div>
</div>




Line 54: Line 57:


     <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">{{{English Name|}}} Profile</th>
<th colspan="2" class="caption">{{{English Name|}}} 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 73: Line 76:
<td>[[Residence Type::{{{Residence Type|}}}]]</td>
<td>[[Residence Type::{{{Residence Type|}}}]]</td>
</tr>
</tr>
{{#if:{{{Samurai Residence Designations|}}}|
<tr>
<tr>
<th>Designations</th>
<th>Designations</th>
<td>{{#arraymap:{{{Designations|}}}|,|x|[[Designations::x]]}}</td>
<td>{{#arraymap:{{{Samurai Residence Designations|}}}|,|x|[[Samurai Residence Designations::x]]}}</td>
</tr>
</tr>
}}
<tr>
<tr>
<th>Features</th>
<th>Features</th>
<td>{{#arraymap:{{{Samurai Home Features|}}}|,|x|[[Samurai Home Features::x]]}}</td>
<td>{{#arraymap:{{{Samurai Residence Features|}}}|,|x|[[Samurai Residence Features::x]]}}</td>
</tr>
</tr>
<tr>
<tr>
Line 102: Line 107:
<th>Coordinates</th>
<th>Coordinates</th>
<td>[[GPSLocation::{{{GPSLocation|}}}]]</td>
<td>[[GPSLocation::{{{GPSLocation|}}}]]</td>
</tr>
<tr>
<td colspan="2" class="caption">{{{Castle|}}} and nearby Samurai Homes</td>
</tr>
</tr>
<tr>
<tr>
<td colspan="2">
<td colspan="2">
{{#display_map:{{#show:{{FULLPAGENAME}}|?GPSLocation}}|service=googlemaps|type=terrain|zoom=6|height=200|icon=Castlemarker.png}}
{{#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>
</td>
</tr>
<tr>
<td colspan="2" class="caption">Admin</td>
</tr>
</tr>
<tr>
<tr>
Line 116: Line 133:
<td>[[AddedJcastle::{{{AddedJcastle|}}}]]</td>
<td>[[AddedJcastle::{{{AddedJcastle|}}}]]</td>
</tr>
</tr>
{{#if:{{{Contributor|}}}|
<tr>
<th>Contributor</th>
<td>[[User:{{{Contributor|}}}|{{{Contributor|}}}]]</td>
</tr>
}}
</table>
</table>


Line 124: Line 147:
<div class="row">
<div class="row">
     <div class="col-md-12">
     <div class="col-md-12">
== Gallery ==
{{#ask:
[[Category:Castle Photos]]
[[Castle::{{{Castle|}}}]]
[[Samurai Home::{{{PAGENAME}}}]]
|?Short Description
|captionproperty=Short Description
|format=gallery
|sort=order
|order=ascending
|overlay=yes
}}


<vote type=1 />
<vote type=1 />

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.