「テンプレート:施設」の版間の差分
細編集の要約なし |
地図をleafletに変更 |
||
| (5人の利用者による、間の56版が非表示) | |||
| 1行目: | 1行目: | ||
{|style="border: 1px solid; width:30em; float: right; font-size: 90%; margin-left: 5px;" | {{#if:{{{名称|}}}| | ||
{{#if:{{{所在地|}}}| | |||
{{#if:{{{電話番号|}}}| | |||
| | {{#if:{{{緯度経度|}}}| | ||
{{#if:{{{よみ|}}}| | |||
|{{施設基本データ加筆待ち}} | |||
}} | |||
|{{施設基本データ加筆待ち}} | |||
}} | |||
| | |{{施設基本データ加筆待ち}} | ||
}} | |||
|{{施設基本データ加筆待ち}} | |||
| | }} | ||
|{{施設基本データ加筆待ち}} | |||
}}{{#ifexist:{{FULLPAGENAME}}/en|{{Other languages}}|{{#ifexist:{{FULLPAGENAME}}/zh|{{Other languages}}|{{#ifexist:{{FULLPAGENAME}}/ko|{{Other languages}}}}}}}} | |||
| | <table style="border: 1px solid; width:30em; clear: both; float: right; font-size: 90%; margin-left: 5px;"> | ||
<tr> | |||
<th colspan="2" style="text-align: center;">'''{{{名称}}}'''</th> | |||
</tr> | |||
<tr> | |||
<th>[[Property:NameYomi | よみ]]</th> | |||
| | <td>[[NameYomi::{{{よみ|}}}]]</td> | ||
</tr> | |||
<tr> | |||
| | <th>[[Property:Address | 所在地]]</th> | ||
<td>[[Address::{{{所在地}}}]]</td> | |||
|{{{ | </tr> | ||
|}{{#if:{{{緯度経度|}}}|<div style="clear:both;float:right;margin:0 0 5px 5px">{{# | <tr> | ||
|?Coordinates | <th>[[Property:Coordinates | 緯度経度]]</th> | ||
|format= | <td>[[Coordinates::{{{緯度経度|}}}]]</td> | ||
</tr> | |||
<tr> | |||
<th>[[Property:Tel | 電話番号 ]]</th> | |||
<td>[[Tel::{{{電話番号|}}}]]</td> | |||
</tr> | |||
{{#if:{{{FAX|}}}| | |||
<tr> | |||
<th>[[Property:Fax | FAX ]]</th> | |||
<td>[[Fax::{{{FAX|}}}]]</td> | |||
</tr>}} | |||
<tr> | |||
<th>[[Property:メールアドレス | メールアドレス ]]</th> | |||
<td>{{{メールアドレス|}}}</td> | |||
</tr> | |||
<tr> | |||
<th>[[Property:Website | ウェブサイト]]</th> | |||
<td style="word-break:break-all">[[Website::{{{URL|}}}]]</td> | |||
</tr> | |||
{{#if:{{{Twitterアカウント|}}}| | |||
<tr> | |||
<th>[[Property:Twitter | Twitter ]]</th> | |||
<td>{{{Twitterアカウント|}}}</td> | |||
</tr>}} | |||
{{#if:{{{ISIL|}}}| | |||
<tr> | |||
<th>[[Property:ISIL | ISIL ]]</th> | |||
<td>[[ISIL::{{{ISIL|}}}]]</td> | |||
</tr>}} | |||
<tr> | |||
<th>[[Property:Comment | 備考]]</th> | |||
<td>{{{備考|}}}</td> | |||
</table>{{#if:{{{緯度経度|}}}|<div style="clear:both;float:right;margin:0 0 5px 5px">{{#compound_query: | |||
[[Coordinates::{{{緯度経度}}}]];?Coordinates;icon=current_position.png | |||
|[[Coordinates::{{{緯度経度}}}(3km)]][[Category:類縁施設]][[:+]];?Coordinates;icon=Marker-relative.png | |||
|[[Coordinates::{{{緯度経度}}}(3km)]][[Category:公民館]][[:+]];?Coordinates;icon=Marker-kominkan.png | |||
|[[Coordinates::{{{緯度経度}}}(3km)]][[Category:文書館]][[:+]];?Coordinates;icon=Marker-archives.png | |||
|[[Coordinates::{{{緯度経度}}}(3km)]][[Category:図書館]][[:+]];?Coordinates;icon=Marker-library.png | |||
|[[Coordinates::{{{緯度経度}}}(3km)]][[Category:博物館]][[:+]];?Coordinates;icon=Marker-museum.png | |||
|format=leaflet | |||
|limit=20 | |limit=20 | ||
|width=300 | |width=300 | ||
| 36行目: | 75行目: | ||
|limit=5 | |limit=5 | ||
|intro='''近隣施設一覧''' | |intro='''近隣施設一覧''' | ||
}}</div>}}}}{{DEFAULTSORT:{{{よみ|}}}}} | }}</div>}}}}{{DEFAULTSORT:{{{よみ|}}}}}<includeonly>[[Category:施設]]{{#if:{{{よみ|}}}||[[Category:施設よみ未付与]]}}{{#if:{{{緯度経度|}}}||[[Category:施設緯度経度未付与]]}}{{#if:{{{メールアドレス|}}}|{{#set:Email={{{メールアドレス|}}} }} }}{{#if:{{{Twitterアカウント|}}}|{{#set:Twitter={{{Twitterアカウント|}}} }} }}{{#if:{{{備考|}}}|{{#set:Comment={{{備考|}}} }} }}</includeonly><noinclude> | ||
<includeonly>[[Category:施設]]</includeonly><noinclude> | |||
<!-- now some annotations that don't appear in the template --> | <!-- now some annotations that don't appear in the template --> | ||
施設の基本情報を掲載するテンプレートです。新しい項目は[[Form:新しい施設|新しい施設]]から作成してください。 | 施設の基本情報を掲載するテンプレートです。新しい項目は[[Form:新しい施設|新しい施設]]から作成してください。 | ||