編集の要約なし
編集の要約なし
1行目: 1行目:
{{#forminput:
{{#forminput:form=Stall|button text=新しい屋台を登録|placeholder=屋台ページ名を入力|no autofocus}}
form=Stall
|button text=新しい屋台を登録
|placeholder=屋台ページ名を入力
|no autofocus
}}


{{{info
{{{info|create title=新しい屋台を登録:<page name>|edit title=屋台情報を編集:<page name>}}}
|create title=新しい屋台を登録
|edit title=屋台情報を編集:<page name>
}}}


<div id="wikiPreview"
<div id="wikiPreview" style="display:none; padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid #aaa;"></div>
    style="display:none;
            padding-bottom:20px;
            margin-bottom:20px;
            border-bottom:1px solid #aaa;">
</div>


<div class="stall-form-intro">
<div class="stall-form-intro">
26行目: 13行目:


{| class="formtable"
{| class="formtable"
! 屋台ID
! 屋台ID
| {{{field|stall_id
| {{{field|stall_id|input type=text|size=12|mandatory|unique|restricted|cargo table=Stalls|cargo field=stall_id}}}
|input type=text
|-
|size=12
| colspan="2" | <small>屋台を識別する内部IDです。既存IDと重複させないでください。</small>
|mandatory
|unique
|restricted
|cargo table=Stalls
|cargo field=stall_id
}}}
<div class="stall-form-help">
屋台を識別する内部IDです。既存IDと重複させないでください。
</div>


|-
|-
! 屋台名
! 屋台名
| {{{field|name
| {{{field|name|input type=text|size=50|mandatory|cargo table=Stalls|cargo field=name|placeholder=例:たこ焼き山田}}}
|input type=text
|size=50
|mandatory
|cargo table=Stalls
|cargo field=name
|placeholder=例:たこ焼き山田
}}}


|-
|-
! カテゴリ
! カテゴリ
| {{{field|category
| {{{field|category|input type=combobox|cargo table=Stalls|cargo field=category|placeholder=例:粉もの}}}
|input type=combobox
|-
|cargo table=Stalls
| colspan="2" | <small>既存カテゴリを選択できます。必要な場合は新しいカテゴリも入力できます。</small>
|cargo field=category
|}
|placeholder=例:粉もの
}}}
<div class="stall-form-help">
既存カテゴリを選択できます。必要な場合は新しいカテゴリも入力できます。
</div>
 
 
<!--
既存Stallsに残っている旧フィールド。
フォーム編集時に値を消さないためhiddenで保持する。
今後の正式な出店情報はFestivalStallPlacementsで管理する。
-->


{{{field|festival_id|hidden}}}
{{{field|festival_id|hidden}}}
80行目: 38行目:
{{{field|latitude|hidden}}}
{{{field|latitude|hidden}}}
{{{field|longitude|hidden}}}
{{{field|longitude|hidden}}}
|}


{{{end template}}}
{{{end template}}}
<div class="stall-form-actions">


{{{standard input|save|label=屋台情報を保存}}}
{{{standard input|save|label=屋台情報を保存}}}
{{{standard input|preview|label=プレビュー}}}
{{{standard input|preview|label=プレビュー}}}
{{{standard input|changes|label=変更内容を確認}}}
{{{standard input|changes|label=変更内容を確認}}}
{{{standard input|cancel}}}
{{{standard input|cancel}}}
</div>

2026年8月13日 (木) 21:22時点における版


create title=新しい屋台を登録:<page name>

屋台そのものの基本情報を登録します。
祭り・開催年・会場・出店位置・価格などは、このフォームでは登録しません。

Stall

屋台ID stall_id
屋台を識別する内部IDです。既存IDと重複させないでください。
屋台名 name
カテゴリ category
既存カテゴリを選択できます。必要な場合は新しいカテゴリも入力できます。

festival_id venue_id area opening_time closing_time price_range popular latitude longitude

{{{end template}}}

save preview changes cancel