|
|
| (49 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| {{{info|add title=Add a new Game|edit title=Edit Game}}} | | <noinclude> |
| | {{#forminput: form=Game |
| | |button text=Create or Edit Game Database Entry |
| | |autocomplete on category=Games |
| | |no autofocus |
| | }} |
| | {{DISPLAYTITLE: Add a New Game}} |
| | </noinclude><includeonly> |
| | {{{info|add title=Add a new Game Database Entry|edit title=Edit Game Database Entry}}} |
|
| |
|
| {{{for template|Game}}} | | {{{for template|Game}}} |
| <div style="max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid #ccc; box-shadow: 0 4px 15px rgba(0,0,0,0.05); font-family: sans-serif; color: #333;">
| | {{form row |
| | |{{{field |
| | |Release date |
| | |input type=date |
| | |class=form-control |
| | }}} |
| | |label=Release date: |
| | |property=Has release date |
| | }} |
| | {{form row |
| | |{{{field |
| | |Developer |
| | |input type=tokens |
| | |delimiter=, |
| | |class=form-control |
| | }}} |
| | |label=Developer: |
| | |property=Has developer |
| | }} |
| | {{form row |
| | |{{{field |
| | |Publisher |
| | |input type=tokens |
| | |max values=1 |
| | |class=form-control |
| | }}} |
| | |label=Publisher: |
| | |property=Has publisher |
| | }} |
| | {{form row |
| | |{{{field |
| | |Series |
| | |input type=tokens |
| | |delimiter=, |
| | |values from property=Has series |
| | |placeholder=e.g. Half-Life |
| | |class=form-control |
| | }}} |
| | |label=Series: |
| | |property=Has series |
| | }} |
| | {{form row |
| | |{{{field |
| | |Image |
| | |input type=text |
| | |uploadable |
| | |class=form-control |
| | }}} |
| | |label=Cover Image: |
| | |property=Image |
| | }} |
| | {{form row |
| | |{{{field |
| | |Current version |
| | |input type=text |
| | |class=form-control |
| | }}} |
| | |label=Version: |
| | |property=Has version |
| | }} |
|
| |
|
| <div style="background: #3366cc; color: white; padding: 15px 20px;">
| | == Gameplay & Genre == |
| <span style="font-size: 1.4em; font-weight: bold;">Game Database Entry</span> | | {{form row |
| </div>
| | |{{{field |
| | |Genre |
| | |input type=checkboxes |
| | |property=Has genre |
| | |delimiter=, |
| | |class=form-control |
| | }}} |
| | |label=Genre: |
| | |property=Has genre |
| | }} |
| | {{form row |
| | |{{{field |
| | |Setting |
| | |input type=checkboxes |
| | |property=Has setting |
| | |delimiter=, |
| | |class=form-control |
| | }}} |
| | |label=Setting: |
| | |property=Has setting |
| | }} |
| | {{form row |
| | |{{{field |
| | |Has game mode |
| | |input type=checkboxes |
| | |property=Has game mode |
| | |delimiter=, |
| | |class=form-control |
| | }}} |
| | |label=Modes: |
| | |property=Has game mode |
| | }} |
|
| |
|
| <div style="padding: 25px 30px; background: #f8f9fa; border-bottom: 1px solid #e0e0e0;">
| | == Technical Specs == |
| <div style="font-weight: bold; color: #555; text-transform: uppercase; margin-bottom: 15px; font-size: 0.9em;">Essential Information</div>
| | {{form row |
| | | |{{{field |
| <div style="margin-bottom: 15px;">
| | |Platform |
| '''Game Name:'''<br>
| | |input type=checkboxes |
| {{{field|Name|input type=text|size=60|placeholder=Enter the full official title|class=form-control}}}
| | |property=Has platform |
| </div>
| | |delimiter=, |
| | | |class=form-control |
| <div style="display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 15px;">
| | }}} |
| <div style="flex: 1; min-width: 250px;">
| | |label=Original Platforms: |
| '''Developer:'''<br>{{{field|Developer|input type=text|autocomplete|size=30}}}
| | |property=Has platform |
| </div>
| | }} |
| <div style="flex: 1; min-width: 250px;">
| | {{form row |
| '''Publisher:'''<br>{{{field|Publisher|input type=text|autocomplete|size=30}}}
| | |{{{field |
| </div>
| | |System requirements |
| </div>
| | |input type=textarea |
| | | |rows=3 |
| <div style="margin-bottom: 15px;">
| | |class=form-control |
| '''Series:'''<br>
| | }}} |
| {{{field|Series|input type=tokens|values from category=Series|size=60|placeholder=Type Series name and hit Enter}}}
| | |label=System Requirements: |
| </div>
| | }} |
| | {{form row |
| | |{{{field |
| | |Multiplayer tools |
| | |input type=tokens |
| | |values from property=Has multiplayer tools |
| | |delimiter=, |
| | |class=form-control |
| | }}} |
| | |label=Multiplayer Tools: |
| | |property=Has multiplayer tools |
| | }} |
| | <p class="mb-0">Store Links:</p> |
| | {{{field|Store links|holds template}}} |
| | <p class="mb-0">Community Links:</p> |
| | {{{field|Community links|holds template}}} |
| | {{{end template}}} |
| | {{{for template|Store link|multiple|embed in field=Game[Store links]|add button text=Add store link}}} |
| | {{Link fields|Store links}} |
| | {{{end template}}} |
| | {{{for template|Community link|multiple|embed in field=Game[Community links]|add button text=Add community link}}} |
| | {{Link fields|Community links}} |
| | {{{end template}}} |
|
| |
|
| <div style="display: flex; flex-wrap: wrap; gap: 20px;">
| | {{{standard input|save}}} |
| <div style="flex: 1; min-width: 200px;">
| | {{{standard input|preview}}} |
| '''Release Date:'''<br>{{{field|Release date|input type=datepicker|date format=dd.mm.yy}}}
| | {{{standard input|cancel}}} |
| </div>
| | </includeonly> |
| <div style="flex: 1; min-width: 200px;">
| |
| '''Cover Image:'''<br>{{{field|Image|uploadable}}}
| |
| </div>
| |
| <div style="flex: 1; min-width: 200px;">
| |
| '''Current Version:'''<br>{{{field|Current version|input type=text|size=15}}}
| |
| </div>
| |
| </div>
| |
| </div>
| |
| | |
| <div style="padding: 25px 30px; background: #ffffff; border-bottom: 1px solid #e0e0e0;">
| |
| <div style="font-weight: bold; color: #3366cc; text-transform: uppercase; margin-bottom: 15px; font-size: 0.9em; border-bottom: 2px solid #3366cc; display: inline-block; padding-bottom: 3px;">Gameplay & Genre</div>
| |
| | |
| <div style="margin-bottom: 20px;">
| |
| <div style="margin-bottom: 8px; font-weight: bold;">Genre:</div>
| |
| {{{field|Genre|input type=checkboxes|values=Action, Adventure, MMO, Racing, RPG, Shooter, Simulation, Sports, Strategy|delimiter=,|columns=5}}}
| |
| </div>
| |
| | |
| <div style="margin-bottom: 20px;">
| |
| <div style="margin-bottom: 8px; font-weight: bold;">Setting:</div>
| |
| {{{field|Setting|input type=checkboxes|values=Modern Era, Fantasy, Sci-Fi, Historical, Post-Apocalyptic|delimiter=,|columns=5}}}
| |
| </div>
| |
| | |
| <div style="margin-bottom: 5px;">
| |
| <div style="margin-bottom: 8px; font-weight: bold;">Game Modes:</div>
| |
| {{{field|Has game mode|input type=checkboxes|values=Singleplayer, Multiplayer, Co-op|delimiter=,|columns=5}}}
| |
| </div>
| |
| </div>
| |
| | |
| <div style="padding: 25px 30px; background: #f8f9fa; border-bottom: 1px solid #e0e0e0;">
| |
| <div style="font-weight: bold; color: #555; text-transform: uppercase; margin-bottom: 15px; font-size: 0.9em;">Technical Specifications</div>
| |
| | |
| <div style="margin-bottom: 20px;">
| |
| <div style="margin-bottom: 8px; font-weight: bold;">Original Release Platforms:</div>
| |
| <div style="background: #fff; padding: 10px; border: 1px solid #ddd; border-radius: 4px;">
| |
| {{{field|Platform|input type=checkboxes|values=MS-DOS, Windows 95, Windows 98, Windows XP, Windows 7, Windows 10, Windows 11, Linux, Mac OS|delimiter=,|columns=5}}}
| |
| </div>
| |
| </div>
| |
| | |
| <div style="margin-bottom: 15px;">
| |
| '''System Requirements:'''<br>
| |
| {{{field|System requirements|input type=textarea|rows=3|style=width: 100%; box-sizing: border-box; font-family: monospace;}}}
| |
| </div>
| |
| | |
| <div>
| |
| '''Multiplayer Tools:'''<br>
| |
| {{{field|Multiplayer tools|input type=tokens|delimiter=;|size=60}}}
| |
| </div>
| |
| </div>
| |
| | |
| <div style="padding: 25px 30px; background: #ffffff;">
| |
| <div style="font-weight: bold; color: #555; text-transform: uppercase; margin-bottom: 15px; font-size: 0.9em;">External Links</div>
| |
| | |
| <div style="margin-bottom: 10px;">
| |
| '''Store Links:'''<br>{{{field|Store links|input type=text|size=70}}}
| |
| </div>
| |
| <div>
| |
| '''Community Links:'''<br>{{{field|Community|input type=text|size=70}}}
| |
| </div>
| |
| </div>
| |
| | |
| <div style="padding: 20px 30px; background: #f0f0f0; border-top: 1px solid #ccc; text-align: right;">
| |
| {{{standard input|save}}}
| |
| <span style="margin-left: 10px;">{{{standard input|preview}}}</span>
| |
| <span style="margin-left: 10px;">{{{standard input|cancel}}}</span>
| |
| </div> | |
| | |
| </div>
| |
| {{{end template}}}
| |