関係者や来訪者へ向けた情報提供・編集案内を追加 |
祭りページに年別登録ボタンと地域保存を追加 |
||
| (2人の利用者による、間の18版が非表示) | |||
| 32行目: | 32行目: | ||
</noinclude> | </noinclude> | ||
<includeonly><span style="display:none">{{#default_form:Festival}}</span> | <includeonly><!-- R30 dynamic meta description --> | ||
{{#description2:{{{name|{{PAGENAME}}}}}の開催日程、会場、アクセス、屋台、見どころなどを紹介。祭りを楽しむための情報を掲載しています。}}<span style="display:none">{{#default_form:Festival}}</span> | |||
<!-- BEGIN matsuri-wiki Event JSON-LD rollout --> | |||
{{FestivalEventJsonLd}} | |||
<!-- END matsuri-wiki Event JSON-LD rollout --> | |||
<!-- ===================================== --> | <!-- ===================================== --> | ||
<!-- Cargo保存 --> | <!-- Cargo保存 --> | ||
| 64行目: | 68行目: | ||
|last_verified={{{last_verified|}}} | |last_verified={{{last_verified|}}} | ||
}} | }} | ||
{{#if:{{{prefecture_area_id|}}} | |||
|{{FestivalArea | |||
|festival_id={{PAGEID}} | |||
|area_id={{{prefecture_area_id}}} | |||
|relation_type=related | |||
|sort_order=1 | |||
}} | |||
|}} | |||
{{#if:{{{municipality_area_id|}}} | |||
|{{FestivalArea | |||
|festival_id={{PAGEID}} | |||
|area_id={{{municipality_area_id}}} | |||
|relation_type=primary | |||
|sort_order=2 | |||
}} | |||
|}} | |||
{{#ifeq:{{{page_experience|}}}|v1|<div class="festival-page-pilot-v1">|}}<div class="festival-page"> | {{#ifeq:{{{page_experience|}}}|v1|<div class="festival-page-pilot-v1">|}}<div class="festival-page"> | ||
<!-- ===================================== --> | <!-- ===================================== --> | ||
| 136行目: | 159行目: | ||
|format=template | |format=template | ||
|template=FestivalCurrentTimeDisplay | |template=FestivalCurrentTimeDisplay | ||
|more results text= | |more results text= | ||
|default={{FestivalCurrentTimeDisplay}} | |default={{FestivalCurrentTimeDisplay}} | ||
| 149行目: | 171行目: | ||
|format=template | |format=template | ||
|template=FestivalCurrentMonthSeasonDisplay | |template=FestivalCurrentMonthSeasonDisplay | ||
|more results text= | |more results text= | ||
|default= | |default= | ||
| 263行目: | 284行目: | ||
|} | |} | ||
</div>{{#ifeq:{{{page_experience|}}}|v1|<!-- FESTIVAL_PAGE_PILOT_V1_R3: NAV --><div class="festival-pilot-v1-nav"><div class="festival-pilot-v1-nav-title">このページで分かること</div><div class="festival-pilot-v1-nav-links">[[#festival-highlights|見どころ]] [[#{{LOCALYEAR}}年の屋台情報|屋台]] [[#会場・アクセス|会場・アクセス]] [[#歴史|歴史]] [[#年別開催情報|過去の開催情報]]</div></div>{{#if:{{{highlight|}}}|<div id="festival-highlights" class="festival-pilot-v1-highlight"><div class="festival-pilot-v1-highlight-title">主な見どころ</div>{{{highlight}}}</div>|}}|}} | </div> | ||
<!-- BEGIN matsuri-wiki festival AEO quick answers --> | |||
<div class="festival-aeo-summary"> | |||
<div class="festival-aeo-summary-title">{{{name|{{PAGENAME}}}}}の開催要点</div> | |||
<div class="festival-aeo-summary-item"> | |||
<div class="festival-aeo-summary-question">'''{{{name|{{PAGENAME}}}}}はいつ開催?'''</div> | |||
<div class="festival-aeo-summary-answer"> | |||
{{#cargo_query: | |||
tables=FestivalCalendar | |||
|fields=start_date=start_date,end_date=end_date,status=status | |||
|where=festival_id={{PAGEID}} AND year={{LOCALYEAR}} | |||
|order by=start_date ASC | |||
|limit=1 | |||
|format=template | |||
|template=FestivalAeoScheduleAnswer | |||
|named args=yes | |||
|more results text= | |||
|default={{LOCALYEAR}}年の開催日は現在確認中です。 | |||
}} | |||
</div> | |||
</div> | |||
<div class="festival-aeo-summary-item"> | |||
<div class="festival-aeo-summary-question">'''{{{name|{{PAGENAME}}}}}はどこで開催?'''</div> | |||
<div class="festival-aeo-summary-answer"> | |||
{{#cargo_query: | |||
tables=FestivalVenues=FV,Venues=V | |||
|join on=FV.venue_id=V.venue_id | |||
|fields=V._pageName=venue_page,V.name=venue_name,V.address=address,V.nearest_station=nearest_station | |||
|where=FV.festival_id={{PAGEID}} | |||
|order by=FV.sort_order ASC,V.name ASC | |||
|limit=1 | |||
|format=template | |||
|template=FestivalAeoVenueAnswer | |||
|named args=yes | |||
|more results text= | |||
|default=主な会場は現在確認中です。 | |||
}} | |||
</div> | |||
</div> | |||
</div> | |||
<!-- END matsuri-wiki festival AEO quick answers --> | |||
{{#ifeq:{{{page_experience|}}}|v1|<!-- FESTIVAL_PAGE_PILOT_V1_R3: NAV --><div class="festival-pilot-v1-nav"><div class="festival-pilot-v1-nav-title">このページで分かること</div><div class="festival-pilot-v1-nav-links">[[#festival-highlights|見どころ]] [[#{{LOCALYEAR}}年の屋台情報|屋台]] [[#会場・アクセス|会場・アクセス]] [[#歴史|歴史]] [[#年別開催情報|過去の開催情報]]</div></div>{{#if:{{{highlight|}}}|<div id="festival-highlights" class="festival-pilot-v1-highlight"><div class="festival-pilot-v1-highlight-title">主な見どころ</div>{{{highlight}}}</div>|}}|}} | |||
<!-- ===================================== --> | <!-- ===================================== --> | ||
<!-- 概要 --> | <!-- 概要 --> | ||
| 355行目: | 421行目: | ||
屋台名や商品名、カテゴリ、会場から屋台を探せます。地図上のピンから場所を確認したり、屋台同士を比較することもできます。 | 屋台名や商品名、カテゴリ、会場から屋台を探せます。地図上のピンから場所を確認したり、屋台同士を比較することもできます。 | ||
</div> | </div> | ||
<div class="festival-stall-batch-link">[{{fullurl:屋台写真一括登録|festival_id={{PAGEID}}}} 写真をまとめて整理する(屋台名は後から登録)]</div> | |||
<div class="festival-stall-contribute"> | <div class="festival-stall-contribute"> | ||
<div class="festival-stall-contribute-title">この祭りで見かけた屋台はありますか?</div> | <div class="festival-stall-contribute-title">この祭りで見かけた屋台はありますか?</div> | ||
| 375行目: | 442行目: | ||
}} | }} | ||
</div> | </div> | ||
{{#if: | |||
{{#if: | |||
{{#cargo_query: | |||
tables=FestivalStallPlacements=P | |||
|fields=P.placement_id | |||
|where=P.festival_id={{PAGEID}} AND P.year={{LOCALYEAR}} | |||
|limit=1 | |||
|format=list | |||
|delimiter= | |||
|default= | |||
}} | |||
|1 | |||
|{{#if: | |||
{{#cargo_query: | |||
tables=FestivalTemporaryFacilities=T | |||
|fields=T.facility_id | |||
|where=T.festival_id={{PAGEID}} AND T.year={{LOCALYEAR}} | |||
|limit=1 | |||
|format=list | |||
|delimiter= | |||
|default= | |||
}} | |||
|1 | |||
|}} | |||
}} | |||
| | |||
<!-- ===================================== --> | <!-- ===================================== --> | ||
<!-- 屋台検索UI 挿入位置 --> | <!-- 屋台検索UI 挿入位置 --> | ||
| 402行目: | 496行目: | ||
tables=FestivalStallPlacements=P,Stalls=S,Venues=V,Areas=A | tables=FestivalStallPlacements=P,Stalls=S,Venues=V,Areas=A | ||
|join on=P.stall_id=S.stall_id,P.venue_id=V.venue_id,V.area_id=A.area_id | |join on=P.stall_id=S.stall_id,P.venue_id=V.venue_id,V.area_id=A.area_id | ||
|fields=P.placement_id=placement_id,P.latitude=latitude,P.longitude=longitude,S._pageName=stall_page,S.name=stall_name,S.category=category,V._pageName=venue_page,V.name=venue_name,A._pageName=area_page,A.name=area_name,P.location_note=location_note,P.position_status=position_status,P.position_accuracy_m=position_accuracy_m,P.verification_status=verification_status | |fields=P.placement_id=placement_id,P._pageName=placement_page,P.latitude=latitude,P.longitude=longitude,S._pageName=stall_page,S.name=stall_name,S.category=category,V._pageName=venue_page,V.name=venue_name,A._pageName=area_page,A.name=area_name,P.location_note=location_note,P.position_status=position_status,P.position_accuracy_m=position_accuracy_m,P.verification_status=verification_status | ||
|where=P.festival_id={{PAGEID}} AND P.year={{LOCALYEAR}} | |where=P.festival_id={{PAGEID}} AND P.year={{LOCALYEAR}} AND P.latitude IS NOT NULL AND P.longitude IS NOT NULL | ||
|order by=P.sort_order ASC | |order by=P.sort_order ASC | ||
|format=template | |format=template | ||
| 411行目: | 505行目: | ||
|more results text= | |more results text= | ||
}} | }} | ||
; | {{#if: | ||
{{#cargo_query: | |||
tables=FestivalStallPlacements=P | |||
|fields=P.placement_id | |||
|where=P.festival_id={{PAGEID}} AND P.year={{LOCALYEAR}} AND P.latitude IS NOT NULL AND P.longitude IS NOT NULL | |||
|limit=1 | |||
|format=list | |||
|delimiter= | |||
|default= | |||
}} | |||
|{{#if: | |||
{{#cargo_query: | |||
tables=FestivalTemporaryFacilities=T | |||
|fields=T.facility_id | |||
|where=T.festival_id={{PAGEID}} AND T.year={{LOCALYEAR}} AND T.latitude IS NOT NULL AND T.longitude IS NOT NULL | |||
|limit=1 | |||
|format=list | |||
|delimiter= | |||
|default= | |||
}} | |||
|; | |||
}} | |||
}} | |||
{{#cargo_query: | {{#cargo_query: | ||
tables=FestivalTemporaryFacilities=T | tables=FestivalTemporaryFacilities=T | ||
|fields=T.facility_id=facility_id,T._pageName=page_name,T.facility_type=facility_type,T.label=label,T.latitude=latitude,T.longitude=longitude,T.location_note=location_note,T.position_status=position_status,T.verification_status=verification_status,T.status=status | |fields=T.facility_id=facility_id,T._pageName=page_name,T.facility_type=facility_type,T.label=label,T.latitude=latitude,T.longitude=longitude,T.location_note=location_note,T.position_status=position_status,T.verification_status=verification_status,T.status=status | ||
|where=T.festival_id={{PAGEID}} AND T.year={{LOCALYEAR}} | |where=T.festival_id={{PAGEID}} AND T.year={{LOCALYEAR}} AND T.latitude IS NOT NULL AND T.longitude IS NOT NULL | ||
|order by=T.sort_order ASC,T.facility_id ASC | |order by=T.sort_order ASC,T.facility_id ASC | ||
|format=template | |format=template | ||
| 497行目: | 613行目: | ||
</div> | </div> | ||
| | |||
<div class="festival-stall-empty"> | |||
<p>この年の屋台・臨時設備情報はまだ登録されていません。</p> | |||
<p>会場で見かけた屋台や臨時設備は、上のボタンから1件ずつ追加できます。</p> | |||
</div> | |||
</div> | |||
}} | |||
<!-- ===================================== --> | <!-- ===================================== --> | ||
<!-- 今年以外を含む開催履歴 --> | <!-- 今年以外を含む開催履歴 --> | ||
| 505行目: | 629行目: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=FestivalCalendar | tables=FestivalCalendar | ||
|fields=year,start_date,end_date,status,note | |fields=year,start_date,end_date,status,note,_pageName | ||
|where=festival_id={{PAGEID}} | |where=festival_id={{PAGEID}} | ||
|order by=year DESC | |order by=year DESC | ||
| 512行目: | 636行目: | ||
|default=年別の開催情報はまだ登録されていません。 | |default=年別の開催情報はまだ登録されていません。 | ||
}} | }} | ||
<div class="festival-calendar-contribute"> | |||
<p>{{LOCALYEAR}}年の開催日や時間、会場別スケジュールを登録できます。分からない項目は空欄のまま進められます。</p> | |||
{{#formlink: | |||
form=FestivalCalendar | |||
|link text=+ {{LOCALYEAR}}年の開催情報を登録・編集 | |||
|link type=post button | |||
|target={{{name|{{PAGENAME}}}}}/{{LOCALYEAR}}年開催 | |||
|query string=FestivalCalendar[festival_id]={{PAGEID}}&FestivalCalendar[year]={{LOCALYEAR}} | |||
}} | |||
</div> | |||
<!-- ===================================== --> | <!-- ===================================== --> | ||
<!-- 祭り分類 --> | <!-- 祭り分類 --> | ||
| 526行目: | 662行目: | ||
|default=祭りの種類はまだ登録されていません。 | |default=祭りの種類はまだ登録されていません。 | ||
}} | }} | ||
<!-- R42-37 visitor reviews START --> | |||
== みんなの感想 == | |||
<p>訪れた方のひと言を掲載しています。個人情報や、確認できない断定的な内容は投稿しないでください。</p> | |||
{{#cargo_query: | |||
tables=FestivalReviews=R | |||
|fields=R.review_text=review_text,R.visit_year=visit_year,R.venue_name=venue_name,R.submitted_on=submitted_on | |||
|where=R.festival_id={{PAGEID}} | |||
|order by=R.submitted_on DESC,R._pageName DESC | |||
|limit=10 | |||
|format=template | |||
|template=FestivalReviewDisplay | |||
|named args=yes | |||
|default=感想はまだありません。ページ右下の「ひと言を投稿」から最初の感想を投稿できます。 | |||
}} | |||
<div class="r37-review-context" hidden data-review-type="festival" data-festival-id="{{PAGEID}}"></div> | |||
<!-- R42-37 visitor reviews END --> | |||
<!-- ===================================== --> | <!-- ===================================== --> | ||
<!-- 公式情報 --> | <!-- 公式情報 --> | ||