1行目: |
1行目: |
− | <noinclude>[[Page has default form::新しい施設|施設]]の基本情報を掲載するテンプレートです。</noinclude>
| + | {{#if:{{{名称|}}}| |
− | <onlyinclude>{|style="border: 1px solid; width:30em; float: right; font-size: 90%; margin-left: 5px;" ; | + | {{#if:{{{所在地|}}}| |
− | |-
| + | {{#if:{{{電話番号|}}}| |
− | |colspan="2" style="text-align: center;"| '''{{{名称}}}'''
| + | {{#if:{{{緯度経度|}}}| |
− | |- | + | {{#if:{{{よみ|}}}| |
− | ! [[Property:Address | 所在地]]
| + | |{{施設基本データ加筆待ち}} |
− | | [[Address::{{{所在地}}}]]
| + | }} |
− | |-
| + | |{{施設基本データ加筆待ち}} |
− | ! [[Property:Coordinates | 緯度経度]]
| + | }} |
− | | [[Coordinates::{{{緯度経度}}}]]
| + | |{{施設基本データ加筆待ち}} |
− | |- | + | }} |
− | !電話番号
| + | |{{施設基本データ加筆待ち}} |
− | |{{{電話番号|}}}
| + | }} |
− | |- | + | |{{施設基本データ加筆待ち}} |
− | !FAX
| + | }}{{#ifexist:{{FULLPAGENAME}}/en|{{Other languages}}|{{#ifexist:{{FULLPAGENAME}}/zh|{{Other languages}}|{{#ifexist:{{FULLPAGENAME}}/ko|{{Other languages}}}}}}}} |
− | |{{{FAX|}}}
| + | <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> |
− | ! [[Property:Website | ウェブサイト]]
| + | <th>[[Property:NameYomi | よみ]]</th> |
− | | [[Website::{{{URL|}}}]]
| + | <td>[[NameYomi::{{{よみ|}}}]]</td> |
− | |- | + | </tr> |
− | !Twitter
| + | <tr> |
− | |{{{Twitterアカウント|}}}
| + | <th>[[Property:Address | 所在地]]</th> |
− | |- | + | <td>[[Address::{{{所在地}}}]]</td> |
− | !備考
| + | </tr> |
− | |{{{備考|}}} | + | <tr> |
− | |}{{#if:{{{緯度経度|}}}|<div style="clear:both;float:right;margin:0 0 5px 5px">{{#ask:[[Coordinates::{{{緯度経度}}} (3km)]] [[:+]] | + | <th>[[Property:Coordinates | 緯度経度]]</th> |
− | |?Coordinates | + | <td>[[Coordinates::{{{緯度経度|}}}]]</td> |
− | |format=googlemaps | + | </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 |
| |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:{{{よみ|}}}}}<includeonly>[[Category:施設]]{{#if:{{{よみ|}}}||[[Category:施設よみ未付与]]}}{{#if:{{{緯度経度|}}}||[[Category:施設緯度経度未付与]]}}{{#if:{{{メールアドレス|}}}|{{#set:Email={{{メールアドレス|}}} }} }}{{#if:{{{Twitterアカウント|}}}|{{#set:Twitter={{{Twitterアカウント|}}} }} }}{{#if:{{{備考|}}}|{{#set:Comment={{{備考|}}} }} }}</includeonly><noinclude> |
| <!-- now some annotations that don't appear in the template --> | | <!-- now some annotations that don't appear in the template --> |
− | <noinclude>[[Category:テンプレート]]</noinclude> | + | 施設の基本情報を掲載するテンプレートです。新しい項目は[[Form:新しい施設|新しい施設]]から作成してください。 |
| + | <pre> |
| + | <nowiki> |
| + | {{施設 |
| + | |名称= ○○図書館 |
| + | |よみ= ○○○○としょかん |
| + | |所在地=〒XXX-XXXX ○○県○○市○○町X番XX号 |
| + | (旧所在地:〒XXX-XXXX ○○県○○市○○町X番XX号) |
| + | |電話番号= |
| + | |FAX= |
| + | |緯度経度= |
| + | |メールアドレス= |
| + | |URL= |
| + | |備考= |
| + | }}</nowiki></pre> |
| + | [[Category:テンプレート]]</noinclude> |