Template:Region: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Tag: Manual revert
 
(13 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:
{{#ask:
[[Category:Prefectures]]
[[Category:Prefectures]]
[[Region::{{PAGENAME}}]]
[[Region::{{PAGENAME}}]]
  |format=category
  |format=ul
}}
}}
      </div>
      </div>


{{#ask:
</div>
[[Category:Castles]]
 
[[Prefecture::<q>[[Region::{{PAGENAME}}]]</q>]]
<div class="col-md-9">
|?GPSLocation
<div class="well well-sm">
  |format=googlemaps
[[File:Darkgreen18.png|link=]] Original Main Keep [[File:Darkred18.png|link=]] Reconstructed Main Keep
|limit=100
[[File:Orange18.png|link=]] No main keep but other buildings [[File:Darkblue18.png|link=]] Ruins Only
  |icon=Darkgreen18.png
</div>
}}


{{#compound_query:
{{#compound_query:
[[Category:Castles]][[Prefecture::<q>[[Region::{{PAGENAME}}]]</q>]][[Castle Condition::Original main keep]];?GPSLocation;icon=Darkgreen18.png;limit=500
[[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=500
|[[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=500
|[[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=500
|[[Category:Castles]][[Prefecture::<q>[[Region::{{PAGENAME}}]]</q>]][[Castle Condition::Ruins only]];?GPSLocation;icon=Darkblue18.png;limit=1500
  |format=googlemaps
  |format=map
  |type=terrain
  |layers=Esri.WorldTopoMap
  |width=90%
  |layer=Esri.WorldTopoMap
  |height=700px
  |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.