Form:Event: Difference between revisions
From PC Gaming Shelter
No edit summary |
No edit summary Tag: Manual revert |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{{info|add title=Add a new Event|edit title=Edit Event}}} | <noinclude> | ||
{{#forminput: form=Event | |||
|button text=Create or Edit Event Entry | |||
|autocomplete on category=Events | |||
|no autofocus | |||
}} | |||
{{DISPLAYTITLE: Add a New Event}} | |||
</noinclude><includeonly> | |||
{{{info|add title=Add a new Event Entry|edit title=Edit Event Entry}}} | |||
{{{for template|Event}}} | {{{for template|Event}}} | ||
{{form row | |||
|{{{field | |||
|Image | |||
|input type=text | |||
|uploadable | |||
|class=form-control | |||
}}} | |||
|label=Cover Image: | |||
|property=Image | |||
}} | |||
{{form row | |||
|{{{field | |||
|Related game | |||
|input type=tokens | |||
|delimiter=, | |||
|values from category=Games | |||
|placeholder=e.g. Half-Life | |||
|class=form-control | |||
}}} | |||
|label=Game: | |||
|property=Related game | |||
}} | |||
{{form row | |||
|{{{field | |||
|Genre | |||
|input type=checkboxes | |||
|property=Has genre | |||
|delimiter=, | |||
|class=form-control | |||
}}} | |||
|label=Genre: | |||
|property=Has genre | |||
}} | |||
{{form row | |||
|{{{field | |||
|Has short description | |||
|input type=textarea | |||
|rows=3 | |||
|class=form-control | |||
}}} | |||
|label=Short description: | |||
|property=Has short description | |||
}} | |||
{{form row | |||
|{{{field | |||
|Has start date | |||
|input type=datepicker | |||
|class=form-control | |||
}}} | |||
|label=Start date: | |||
|property=Has start date | |||
}} | |||
{{form row | |||
|{{{field | |||
|Has end date | |||
|input type=datepicker | |||
|class=form-control | |||
}}} | |||
|label=End date: | |||
|property=Has end date | |||
}} | |||
{{form row | |||
|{{{field | |||
|Has tag | |||
|input type=tokens | |||
|delimiter=, | |||
|class=form-control | |||
}}} | |||
|label=Tags: | |||
|property=Has tag | |||
}} | |||
== Links == | |||
{{{field|Event links|holds template}}} | |||
{{{end template}}} | |||
{{{for template|Event link|multiple|embed in field=Event[Event links]|add button text=Add event link}}} | |||
{{Link fields|Event links}} | |||
{{{end template}}} | |||
{{{standard input|save}}} | |||
{{{standard input|preview}}} | |||
{{{standard input|cancel}}} | |||
</includeonly> | |||
Latest revision as of 23:05, 25 March 2026
