Template:Prefecture: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 11: Line 11:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<p class="extractsummary3">{{{English Name|}}} Map and Castle list</p>
<div class="row">
<div class="row">
<div class="col-md-12">
<div class="col-md-12">
Line 28: Line 29:
<div class="row">
<div class="row">
<div class="col-md-4">
<div class="col-md-4">
<div class="card">
<h5 class="card-header">Castles</h5>
<div class="card-body">
{{#ask:
{{#ask:
[[Category:Castles]]
[[Category:Castles]]
[[Prefecture::{{PAGENAME}}]]
[[Prefecture::{{PAGENAME}}]]
  |format=ul
  |format=ol
|limit=500
}}
}}
      </div>
      </div>
</div>
</div>
<div class="col-md-8">
<div class="col-md-8">
<div class="well well-sm">
[[File:Darkgreen18.png|link=]] Original Main Keep  [[File:Darkred18.png|link=]] Reconstructed Main Keep
[[File:Orange18.png|link=]] No main keep but other buildings  [[File:Darkblue18.png|link=]] Ruins Only
</div>
{{#compound_query:
{{#compound_query:
[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::Original main keep]];?GPSLocation;icon=Darkgreen18.png;limit=500
[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::Original main keep]];?English Name;?GPSLocation;icon=Darkgreen18.png;limit=1500
|[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::Reconstructed main keep]];?GPSLocation;icon=Darkred18.png;limit=500
|[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::Reconstructed main keep]];?English Name;?GPSLocation;icon=Darkred18.png;limit=1500
|[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::No main keep but other buildings]];?GPSLocation;icon=Orange18.png;limit=500
|[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::No main keep but other buildings]];?English Name;?GPSLocation;icon=Orange18.png;limit=1500
|[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::Ruins only]];?GPSLocation;icon=Darkblue18.png;limit=500
|[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::Ruins only]];?English Name;?GPSLocation;icon=Darkblue18.png;limit=1500
  |format=googlemaps
  |format=map
  |type=terrain
|layers=Esri.WorldTopoMap
|layer=Esri.WorldTopoMap
|limit=1500
|height=500px
  |template=MapInfoWindow
}}
}}
</div>
</div>

Latest revision as of 16:48, 10 December 2024

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

{{Prefecture
|English Name=
|Japanese Name=
|Region=
}}

Edit the page to see the template text.