|
|
| (46 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; font-family: sans-serif; color: #333; font-size: 13px;">
| | {{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: #2a4b8d; color: white; padding: 10px 15px;">
| | == Gameplay & Genre == |
| <span style="font-size: 1.2em; 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: 15px; background: #f9f9f9; border-bottom: 1px solid #ddd;">
| | == Technical Specs == |
| <div style="display: flex; gap: 15px; margin-bottom: 10px;">
| | {{form row |
| <div style="flex: 2;">
| | |{{{field |
| '''Game Name:'''<br>
| | |Platform |
| {{{field|Name|input type=text|placeholder=Official Title|class=form-control|style=width:100%}}}
| | |input type=checkboxes |
| </div>
| | |property=Has platform |
| <div style="flex: 1;">
| | |delimiter=, |
| '''Release Date:'''<br>
| | |class=form-control |
| {{{field|Release date|input type=datepicker|date format=dd.mm.yy}}}
| | }}} |
| </div>
| | |label=Original Platforms: |
| </div>
| | |property=Has platform |
| | | }} |
| <div style="display: flex; gap: 15px; margin-bottom: 10px;">
| | {{form row |
| <div style="flex: 1;">
| | |{{{field |
| '''Developer:'''<br>{{{field|Developer|input type=text|autocomplete|size=20}}}
| | |System requirements |
| </div>
| | |input type=textarea |
| <div style="flex: 1;">
| | |rows=3 |
| '''Publisher:'''<br>{{{field|Publisher|input type=text|autocomplete|size=20}}}
| | |class=form-control |
| </div>
| | }}} |
| <div style="flex: 1;">
| | |label=System Requirements: |
| '''Series:'''<br>{{{field|Series|input type=tokens|values from category=Series|placeholder=e.g. Half-Life|size=20}}}
| | }} |
| </div>
| | {{form row |
| </div> | | |{{{field |
| | | |Multiplayer tools |
| <div style="display: flex; gap: 15px; align-items: flex-end;">
| | |input type=tokens |
| <div style="flex: 1;">
| | |values from property=Has multiplayer tools |
| '''Cover Image:'''<br>{{{field|Image|uploadable}}}
| | |delimiter=, |
| </div>
| | |class=form-control |
| <div style="flex: 1;">
| | }}} |
| '''Version:'''<br>{{{field|Current version|input type=text|size=15}}}
| | |label=Multiplayer Tools: |
| </div>
| | |property=Has multiplayer tools |
| </div>
| | }} |
| </div>
| | <p class="mb-0">Store Links:</p> |
| | | {{{field|Store links|holds template}}} |
| <div style="padding: 15px; background: #ffffff; border-bottom: 1px solid #ddd;">
| | <p class="mb-0">Community Links:</p> |
| <div style="font-weight: bold; color: #2a4b8d; border-bottom: 1px solid #eee; padding-bottom: 2px; margin-bottom: 8px;">Gameplay & Genre</div>
| | {{{field|Community links|holds template}}} |
| | | {{{end template}}} |
| <div style="margin-bottom: 12px;">
| | {{{for template|Store link|multiple|embed in field=Game[Store links]|add button text=Add store link}}} |
| <strong>Genre:</strong>
| | {{Link fields|Store links}} |
| <div class="checkbox-grid">
| | {{{end template}}} |
| {{{field|Genre|input type=checkboxes|values=Action, Adventure, MMO, Racing, RPG, Shooter, Simulation, Sports, Strategy|delimiter=,}}}
| | {{{for template|Community link|multiple|embed in field=Game[Community links]|add button text=Add community link}}} |
| </div>
| | {{Link fields|Community links}} |
| </div>
| | {{{end template}}} |
| | |
| <div style="margin-bottom: 12px;">
| |
| <strong>Setting:</strong>
| |
| <div class="checkbox-grid">
| |
| {{{field|Setting|input type=checkboxes|values=Modern Era, Fantasy, Sci-Fi, Historical, Post-Apocalyptic|delimiter=,}}}
| |
| </div>
| |
| </div>
| |
| | |
| <div>
| |
| <strong>Modes:</strong>
| |
| <div class="checkbox-grid">
| |
| {{{field|Has game mode|input type=checkboxes|values=Singleplayer, Multiplayer, Co-op|delimiter=,}}}
| |
| </div>
| |
| </div>
| |
| </div>
| |
| | |
| <div style="padding: 15px; background: #f9f9f9; border-bottom: 1px solid #ddd;">
| |
| <div style="font-weight: bold; color: #2a4b8d; border-bottom: 1px solid #eee; padding-bottom: 2px; margin-bottom: 8px;">Technical Specs</div>
| |
| | |
| <div style="margin-bottom: 12px;">
| |
| <strong>Original Platforms:</strong>
| |
| <div class="checkbox-grid" style="background: #fff; border: 1px solid #ddd; padding: 5px;">
| |
| {{{field|Platform|input type=checkboxes|values=MS-DOS, Windows 95, Windows 98, Windows XP, Windows 7, Windows 10, Windows 11, Linux, Mac OS|delimiter=,}}}
| |
| </div>
| |
| </div>
| |
| | |
| <div style="margin-bottom: 10px;">
| |
| '''System Requirements:'''<br>
| |
| {{{field|System requirements|input type=textarea|rows=2|style=width: 100%; box-sizing: border-box; font-family: monospace;}}}
| |
| </div>
| |
| | |
| <div>
| |
| '''Multiplayer Tools:'''<br>
| |
| {{{field|Multiplayer tools|input type=tokens|delimiter=;|size=50}}}
| |
| </div>
| |
| </div>
| |
| | |
| <div style="padding: 15px; background: #ffffff;">
| |
| <div style="display: flex; gap: 15px;">
| |
| <div style="flex: 1;">
| |
| '''Store Links:'''<br>{{{field|Store links|input type=text|size=50}}}
| |
| </div>
| |
| <div style="flex: 1;">
| |
| '''Community Links:'''<br>{{{field|Community|input type=text|size=50}}}
| |
| </div>
| |
| </div>
| |
| </div>
| |
| | |
| <div style="padding: 10px 15px; background: #eee; 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>
| | {{{standard input|save}}} |
| {{{end template}}} | | {{{standard input|preview}}} |
| | {{{standard input|cancel}}} |
| | </includeonly> |