Form:Mod: Difference between revisions
From PC Gaming Shelter
No edit summary |
No edit summary Tags: Manual revert 2017 source edit |
||
| (16 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{{info|add title=Add a Mod|edit title=Edit Mod}}} | <noinclude> | ||
{{#forminput: form=Mod | |||
|button text=Create or Edit Mod Entry | |||
|autocomplete on category=Mods | |||
|no autofocus | |||
}} | |||
{{DISPLAYTITLE: Add a New Mod}} | |||
__NOCACHE__ | |||
</noinclude><includeonly> | |||
{{{info|add title=Add a new Mod Entry|edit title=Edit Mod Entry}}} | |||
{{{for template|Mod}}} | {{{for template|Mod}}} | ||
{{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 mod type | |||
|input type=tokens | |||
|max values=1 | |||
|property=Has mod type | |||
|class=form-control | |||
}}} | |||
|label=Mod type: | |||
|property=Has mod type | |||
}} | |||
{{form row | |||
|{{{field | |||
|Has developer | |||
|input type=tokens | |||
|values from property=Has developer | |||
|delimiter=, | |||
|class=form-control | |||
}}} | |||
|label=Developer: | |||
|property=Has developer | |||
}} | |||
{{form row | |||
|{{{field | |||
|Has release date | |||
|input type=year | |||
|placeholder={{CURRENTYEAR}} | |||
|class=form-control | |||
}}} | |||
|label=Release year: | |||
|property=Has release date | |||
}} | |||
{{form row | |||
|{{{field | |||
|Has short description | |||
|input type=textarea | |||
|rows=3 | |||
|class=form-control | |||
}}} | |||
|label=Note: | |||
|property=Has short description | |||
}} | |||
{{form row | |||
|{{{field | |||
|Has status | |||
|input type=radiobutton | |||
|values=Active, Completed, Abandoned, On Hold | |||
|mandatory | |||
|default=Active | |||
|class=form-control | |||
}}} | |||
|label=Status: | |||
|property=Has status | |||
}} | |||
== Links == | |||
{{{field|Download links|holds template}}} | |||
{{{end template}}} | |||
{{{for template|Download link|multiple|embed in field=Mod[Download links]|add button text=Add download link}}} | |||
{{Link fields|Download links}} | |||
{{{end template}}} | |||
{{{standard input|save}}} | {{{standard input|save}}} | ||
{{{standard input|preview}}} | |||
{{{standard input|cancel}}} | |||
</includeonly> | |||
Latest revision as of 19:01, 25 March 2026
