Form:Community: Difference between revisions
From PC Gaming Shelter
No edit summary Tag: 2017 source edit |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#forminput: form=Community | {{#forminput: form=Community | ||
|button text=Create or Edit Community | |button text=Create or Edit Community Entry | ||
|autocomplete on category=Communities | |autocomplete on category=Communities | ||
|no autofocus | |no autofocus | ||
| Line 7: | Line 7: | ||
{{DISPLAYTITLE: Add a New Community}} | {{DISPLAYTITLE: Add a New Community}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{{info|add title=Add a new Community | {{{info|add title=Add a new Community Entry|edit title=Edit Community Entry}}} | ||
{{{for template|Community}}} | {{{for template|Community}}} | ||
| Line 25: | Line 25: | ||
|Related game | |Related game | ||
|input type=tokens | |input type=tokens | ||
| | |delimiter=, | ||
|values from category=Games | |values from category=Games | ||
|placeholder=e.g. Half-Life | |placeholder=e.g. Half-Life | ||
| Line 44: | Line 44: | ||
|label=Status: | |label=Status: | ||
|property=Has status | |property=Has status | ||
}} | |||
{{form row | |||
|from {{{field | |||
|Year active from | |||
|input type=regexp | |||
|base type=text | |||
|regexp=/^(?:[0-9]{4})?$/ | |||
|message=Enter a four-digit year. | |||
|size=5 | |||
|placeholder={{CURRENTYEAR}} | |||
|class=form-control | |||
}}} to {{{field | |||
|Year active until | |||
|input type=regexp | |||
|base type=text | |||
|regexp=/^(?:[0-9]{4})?$/ | |||
|message=Enter a four-digit year. | |||
|size=5 | |||
|placeholder={{CURRENTYEAR}} | |||
|class=form-control | |||
}}} | |||
|label=Years active: | |||
|property=Has activity period | |||
|class=d-flex align-items-center gap-2 my-3 | |||
}} | }} | ||
{{form row | {{form row | ||
|{{{field | |{{{field | ||
|Has | |Has short description | ||
|input type=textarea | |input type=textarea | ||
|rows=3 | |rows=3 | ||
| Line 53: | Line 77: | ||
}}} | }}} | ||
|label=Note: | |label=Note: | ||
|property=Has | |property=Has short description | ||
}} | }} | ||
Latest revision as of 16:35, 15 June 2026
