Template:Region: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
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">
{{#ask:
[[Category:Prefectures]]
[[Region::{{PAGENAME}}]]
|format=ul
}}
</div>
<div class="col-md-9">
{{#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=500
Line 24: Line 38:
  |type=terrain
  |type=terrain
}}
}}
{{#ask:
</div>
[[Category:Prefectures]]
</div>
[[Region::{{PAGENAME}}]]
 
|format=ul
|columns=3
}}
[[Category:Regions]]
[[Category:Regions]]
</includeonly>
</includeonly>

Revision as of 01:28, 20 January 2018

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.