「テンプレート:施設」の版間の差分

近隣表示はメイン名前空間にある施設のみに限定
近隣施設がない場合はリストを出さないように
33行目: 33行目:
|width=300
|width=300
|height=300
|height=300
}}</div><div style="clear:both;float:right;max-width:300px">{{#ask:[[Coordinates::{{{緯度経度}}} (3km)]] [[:+]]
}}</div>{{#ifexpr:{{#ask:[[Coordinates::{{{緯度経度}}} (3km)]] [[:+]]|format=count}}>1|<div style="clear:both;float:right;max-width:300px;">{{#ask:[[Coordinates::{{{緯度経度}}} (3km)]] [[:+]]
|format=ul
|format=ul
|limit=5
|limit=5
|intro='''近隣施設一覧'''
|intro='''近隣施設一覧'''
}}</div>}}{{DEFAULTSORT:{{{よみ|}}}}}</onlyinclude>
}}</div>}}}}{{DEFAULTSORT:{{{よみ|}}}}}</onlyinclude>
<!-- now some annotations that don't appear in the template -->
<!-- now some annotations that don't appear in the template -->
<noinclude>[[Category:テンプレート]]</noinclude>
<noinclude>[[Category:テンプレート]]</noinclude>