Template:Prefecture: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
 
(9 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">


<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Castles</h3></div>
    <div class="panel-body">
{{#ask:
{{#ask:
[[Category:Castles]]
[[Category:Castles]]
Line 49: Line 50:


{{#compound_query:
{{#compound_query:
[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::Original main keep]];?English Name;?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]];?English Name;?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]];?English Name;?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]];?English Name;?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
  |limit=500
|layer=Esri.WorldTopoMap
  |height=450px
  |limit=1500
  |height=500px
  |template=MapInfoWindow
  |template=MapInfoWindow
}}
}}

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.