編集の要約なし
祭り分類ページに該当祭り一覧を追加
 
(他の1人の利用者による、間の1版が非表示)
2行目: 2行目:


{{#cargo_declare:
{{#cargo_declare:
_table=FestivalTypes
_table=FestivalTypes
|type_id=Integer
|type_id=Integer
|name=String
|name=String
|slug=String
|slug=String
|description=Text
|description=Text
|parent_id=Integer
|parent_id=Integer
}}
}}


30行目: 17行目:


{{#cargo_store:
{{#cargo_store:
_table=FestivalTypes
_table=FestivalTypes
|type_id={{PAGEID}}
|type_id={{PAGEID}}
|name={{{name|}}}
|name={{{name|}}}
|slug={{{slug|}}}
|slug={{{slug|}}}
|description={{{description|}}}
|parent_id={{{parent_id|}}}
}}


 
{| class="wikitable"
|description={{{description|}}}
! colspan="2" | {{{name|祭り分類}}}
|-
! 分類名
| {{{name|}}}
|-
! slug
| <code>{{{slug|}}}</code>
|-
! 説明
| {{{description|}}}
|-
! 上位分類
| {{#cargo_query:
tables=FestivalTypes
|fields=name
|where=type_id={{{parent_id|0}}}
|format=list
|default=なし
}}
|}




|parent_id={{{parent_id|}}}
<!-- ===================================== -->
<!-- この分類の祭り一覧 -->
<!-- ===================================== -->


== {{{name|祭り分類}}}に分類される祭り ==


{{#cargo_query:
tables=FestivalTypeLinks=FTL,Festivals=F
|join on=FTL.festival_id=F.festival_id
|fields=F._pageName,F.name,F.festival_id
|where=FTL.type_id={{PAGEID}}
|group by=F._pageName,F.name,F.festival_id
|order by=F.name ASC
|format=template
|template=AreaFestivalDisplay
|more results text=
|default=現在この分類に登録されている祭りはありません。
}}
}}


</includeonly>
</includeonly>

2026年8月23日 (日) 17:02時点における最新版


このテンプレートはテーブル「FestivalTypes」を定義しています。 テーブルを表示.