Template:Region: Difference between revisions
From Jcastle.info
(Generated from a page schema) |
No edit summary Tag: Manual revert |
||
(19 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
</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"> | |||
<div class="col-md-12"> | |||
{| class="wikitable" | |||
! English Name | ! English Name | ||
| {{{English Name|}}} | | {{{English Name|}}} | ||
Line 16: | Line 19: | ||
| {{{Japanese Name|}}} | | {{{Japanese Name|}}} | ||
|} | |} | ||
</div> | |||
</div> | |||
<div class="row"> | |||
<div class="col-md-3"> | |||
<div class="card"> | |||
<h5 class="card-header">Prefectures</h5> | |||
<div class="card-body"> | |||
{{#ask: | |||
[[Category:Prefectures]] | |||
[[Region::{{PAGENAME}}]] | |||
|format=ul | |||
}} | |||
</div> | |||
</div> | |||
</div> | |||
<div class="col-md-9"> | |||
<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::<q>[[Region::{{PAGENAME}}]]</q>]][[Castle Condition::Original main keep]];?GPSLocation;icon=Darkgreen18.png;limit=1500 | |||
|[[Category:Castles]][[Prefecture::<q>[[Region::{{PAGENAME}}]]</q>]][[Castle Condition::Reconstructed main keep]];?GPSLocation;icon=Darkred18.png;limit=1500 | |||
|[[Category:Castles]][[Prefecture::<q>[[Region::{{PAGENAME}}]]</q>]][[Castle Condition::No main keep but other buildings]];?GPSLocation;icon=Orange18.png;limit=1500 | |||
|[[Category:Castles]][[Prefecture::<q>[[Region::{{PAGENAME}}]]</q>]][[Castle Condition::Ruins only]];?GPSLocation;icon=Darkblue18.png;limit=1500 | |||
|format=map | |||
|layers=Esri.WorldTopoMap | |||
|layer=Esri.WorldTopoMap | |||
|height=500px | |||
}} | |||
</div> | |||
</div> | |||
[[Category:Regions]] | [[Category:Regions]] | ||
</includeonly> | </includeonly> |
Latest revision as of 16:48, 10 December 2024
This is the "Region" template. It should be called in the following format:
{{Region |English Name= |Japanese Name= }}
Edit the page to see the template text.