Template:Prefecture: Difference between revisions
From Jcastle.info
No edit summary |
No edit summary |
||
(15 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= | |format=ol | ||
|limit=500 | |||
}} | }} | ||
</div> | </div> | ||
Line 48: | Line 50: | ||
{{#compound_query: | {{#compound_query: | ||
[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::Original main keep]] | [[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]] | |[[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]] | |[[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]] | |[[Category:Castles]][[Prefecture::{{PAGENAME}}]][[Castle Condition::Ruins only]];?English Name;?GPSLocation;icon=Darkblue18.png;limit=1500 | ||
|format= | |format=map | ||
| | |layers=Esri.WorldTopoMap | ||
|layer=Esri.WorldTopoMap | |||
|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.