Template:Property Page: Difference between revisions
From Jcastle.info
No edit summary |
No edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
</div></div> | </div></div> | ||
{{#ifexpr: | |||
{{#ask: | |||
[[Category:Castles]] | |||
[[{{{Property Type}}}::{{PAGENAME}}]] | |||
|format=count | |||
}} > 0 | |||
| | |||
<div class="row"> | <div class="row"> | ||
<div class="col-md-6"> | <div class="col-md-6"> | ||
<div class=" | <div class="card"> | ||
< | <h5 class="card-header">Castles with {{{English Name}}}</h5> | ||
Castles with {{{English Name}}} | <div class="card-body"> | ||
</ | |||
<div class=" | |||
{{#ask: | {{#ask: | ||
[[Category:Castles]] | [[Category:Castles]] | ||
Line 38: | Line 43: | ||
</div> | </div> | ||
</div> | </div> | ||
<div class="col-md-6"> | |||
{{#ask: | |||
[[Category:Castles]] | |||
[[{{{Property Type}}}::{{PAGENAME}}]] | |||
|?GPSLocation | |||
|format=map | |||
|layers=Esri.WorldTopoMap | |||
|layer=Esri.WorldTopoMap | |||
|icon=Darkgreen18.png | |||
|limit=500 | |||
|height=600 | |||
}} | |||
</div> | |||
</div> | |||
| }} | |||
{{#ifexpr: | |||
{{#ask: | |||
[[Category:Samurai Homes]] | |||
[[{{{Property Type}}}::{{PAGENAME}}]] | |||
|format=count | |||
}} > 0 | |||
| | |||
<div class="row"> | |||
<div class="col-md-6"> | <div class="col-md-6"> | ||
<div class="card"> | |||
<h5 class="card-header">Samurai Residences with {{{English Name}}}</h5> | |||
<div class="card-body"> | |||
{{#ask: | {{#ask: | ||
[[Category: | [[Category:Samurai Homes]] | ||
[[{{{Property Type}}}::{{PAGENAME}}]] | |||
|format=ol | |||
|columns=2 | |||
|limit=500 | |||
}} | |||
</div> | |||
</div> | |||
</div> | |||
<div class="col-md-6"> | |||
{{#ask: | |||
[[Category:Samurai Homes]] | |||
[[{{{Property Type}}}::{{PAGENAME}}]] | [[{{{Property Type}}}::{{PAGENAME}}]] | ||
|?GPSLocation | |?GPSLocation | ||
Line 48: | Line 90: | ||
|icon=Darkgreen18.png | |icon=Darkgreen18.png | ||
|limit=500 | |limit=500 | ||
|height=600 | |||
}} | }} | ||
</div> | </div> | ||
</div> | </div> | ||
| }} | |||
[[Category:Property Pages]] | [[Category:Property Pages]] |
Latest revision as of 17:17, 10 December 2024
This is the "Property Page" template. It should be called in the following format:
{{Property Page |English Name= |Japanese Name= |Property Type= |Description= }}
Edit the page to see the template text.