Form:Community: Difference between revisions
From PC Gaming Shelter
No edit summary |
No edit summary Tag: 2017 source edit |
||
| Line 1: | Line 1: | ||
{{{info|add title=Add Community | <noinclude> | ||
{{#forminput: form=Community | |||
|button text=Create or Edit Community Database Entry | |||
|autocomplete on category=Communities | |||
|no autofocus | |||
}} | |||
{{DISPLAYTITLE: Add a New Community}} | |||
</noinclude><includeonly> | |||
{{{info|add title=Add a new Community Database Entry|edit title=Edit Community Database Entry}}} | |||
{{{for template|Community}}} | {{{for template|Community}}} | ||
{{form row | |||
|{{{field | |||
|Image | |||
|input type=text | |||
|uploadable | |||
|image preview | |||
|class=form-control | |||
}}} | |||
|label=Cover Image: | |||
|property=Image | |||
}} | |||
{{form row | |||
|{{{field | |||
|Related game | |||
|input type=tokens | |||
|max values=1 | |||
|values from category=Games | |||
|placeholder=e.g. Half-Life | |||
|class=form-control | |||
}}} | |||
|label=Game: | |||
|property=Related game | |||
}} | |||
{{form row | |||
|{{{field | |||
|Has status | |||
|input type=radiobutton | |||
|values=Active, Not Active | |||
|mandatory | |||
|default=Not Active | |||
|class=form-control | |||
}}} | |||
|label=Status: | |||
|property=Has status | |||
}} | |||
{{form row | |||
|{{{field | |||
|Has note | |||
|input type=textarea | |||
|rows=3 | |||
|class=form-control | |||
}}} | |||
|label=Note: | |||
|property=Has note | |||
}} | |||
== Links == | |||
{{{field|Community links|holds template}}} | |||
{{{end template}}} | |||
{{{for template|Community link|multiple|embed in field=Community[Community links]|add button text=Add community link}}} | |||
{{Link fields|Community links}} | |||
{{{end template}}} | |||
{{{standard input|save}}} | {{{standard input|save}}} | ||
{{{standard input|preview}}} | |||
{{{standard input|cancel}}} | |||
</includeonly> | |||
Revision as of 13:15, 25 March 2026
