Template:Samurai Homes: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Line 19: Line 19:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly><div class="row">
! English Name
    <div class="col-md-8">
| [[English Name::{{{English Name|}}}]]  
{{highlightimage}}
|-
<div class="panel panel-default">
! Japanese Name
<div class="panel-heading">
| [[Japanese Name::{{{Japanese Name|}}}]]  
<h3 class="panel-title">Background</h3>
|-
    </div>
! Year
    <div class="panel-body">
| {{{Year|}}}
{{{Background|}}}
|-
  </div>
! City
</div>
| [[City::{{{City|}}}]]  
 
|-
{{#ask:
! Prefecture
[[Category:Castle Photos]]
| [[Prefecture::{{{Prefecture|}}}]]  
[[Castle::{{{Castle|}}}]]
|-
[[Samurai Home::{{{PAGENAME}}}]]
! GPSLocation
|?GPSLocation
| [[GPSLocation::{{{GPSLocation|}}}]]  
|?Short Description
|-
|?{{{fileproperty|}}}
! Background
|format=googlemaps
| {{{Background|}}}
|hidenamespace=on
|-
|limit=100
! Website
|template=InfoWindowProfile
| [[Website::{{{Website|}}}]]  
|type=terrain
|-
|icon=Darkred18.png
! Samurai Home Features
}}
| {{{Samurai Home Features|}}}
 
|-
</div>
! Visitor Information
 
| [[Visitor Information::{{{Visitor Information|}}}]]  
    <div class="col-md-4">
|-
<table class="table table-condensed infobox">
! Castle
<tr>
| [[Castle::{{{Castle|}}}]]  
<th colspan="2" class="caption">Profile</th>
|-
<tr>
! Designations
<td class="col-md-2">'''English Name'''</td>
| {{#arraymap:{{{Designations|}}}|,|x|[[Designations::x]]}}
<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>
<tr>
<th>Designations</th>
<td>{{#arraymap:{{{Designations|}}}|,|x|[[Designations::x]]}}</td>
</tr>
<tr>
<th>Features</th>
<td>{{#arraymap:{{{Samurai Home Features|}}}|,|x|[[Samurai Home 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>Coordinates</th>
<td>[[GPSLocation::{{{GPSLocation|}}}]]</td>
</tr>
<tr>
<td colspan="2">
{{#display_map:{{#show: {{FULLPAGENAME}}|?GPSLocation}}|service=googlemaps|type=terrain|zoom=6|height=200|icon=Castlemarker.png}}
</td>
</tr>
<tr>
<th>Visits</th>
<td>[[Visits::{{{Visits|}}}]]</td>
</tr>
<tr>
<th>Added Jcastle</th>
<td>[[AddedJcastle::{{{AddedJcastle|}}}]]</td>
</tr>
</table>
 
 
</div>
</div>
 
<div class="row">
    <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 />
<comments />


[[Category:Samurai Homes]]
[[Category:Samurai Homes]]
    </div>
</div>
__NOTOC__
__NOEDITSECTION__
</includeonly>
</includeonly>

Revision as of 21:35, 22 January 2018

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

{{Samurai Homes
|English Name=
|Japanese Name=
|Year=
|City=
|Prefecture=
|GPSLocation=
|Background=
|Website=
|Samurai Home Features=
|Visitor Information=
|Castle=
|Designations=
}}

Edit the page to see the template text.