Template:Prefecture: Difference between revisions
From Jcastle.info
No edit summary |
No edit summary |
||
(32 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{| class="wikitable" | </noinclude><includeonly> | ||
<p class="extractsummary3">{{{English Name|}}} Map and Castle list</p> | |||
<div class="row"> | |||
<div class="col-md-12"> | |||
{| class="wikitable" | |||
! English Name | ! English Name | ||
| {{{English Name|}}} | | {{{English Name|}}} | ||
Line 20: | Line 24: | ||
| [[Region::{{{Region|}}}]] | | [[Region::{{{Region|}}}]] | ||
|} | |} | ||
</div> | |||
</div> | |||
<div class="row"> | |||
<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> | |||
</div> | |||
<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: | |||
[[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=1500 | |||
|[[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=1500 | |||
|format=map | |||
|layers=Esri.WorldTopoMap | |||
|layer=Esri.WorldTopoMap | |||
|limit=1500 | |||
|height=500px | |||
|template=MapInfoWindow | |||
}} | }} | ||
</div> | |||
</div> | |||
[[Category:Prefectures]] | [[Category:Prefectures]] | ||
</includeonly> | </includeonly> |
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.