|
|
| (54 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: 1000px; background: #fcfcfc; border: 1px solid #ccc; padding: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); font-family: sans-serif;">
| | {{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="display: flex; gap: 30px; flex-wrap: wrap;">
| | == Gameplay & Genre == |
| | {{form row |
| | |{{{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="flex: 1; min-width: 300px;">
| | == Technical Specs == |
|
| | {{form row |
| <div style="margin-bottom: 20px; background: #fff; border: 1px solid #e0e0e0; padding: 15px; border-radius: 4px;">
| | |{{{field |
| <div style="border-bottom: 2px solid #3366cc; color: #333; margin-bottom: 10px; padding-bottom: 5px; font-weight: bold;">
| | |Platform |
| Basic Information
| | |input type=checkboxes |
| </div>
| | |property=Has platform |
| | | |delimiter=, |
| <div style="margin-bottom: 10px;">
| | |class=form-control |
| '''Game Name:'''<br>
| | }}} |
| {{{field|Name|input type=text|size=45|placeholder=Full Title}}}
| | |label=Original Platforms: |
| </div>
| | |property=Has platform |
| | | }} |
| <div style="display: flex; gap: 10px; margin-bottom: 10px;">
| | {{form row |
| <div style="flex: 1;">'''Developer:'''<br>{{{field|Developer|input type=text|autocomplete|size=20}}}</div>
| | |{{{field |
| <div style="flex: 1;">'''Publisher:'''<br>{{{field|Publisher|input type=text|autocomplete|size=20}}}</div>
| | |System requirements |
| </div>
| | |input type=textarea |
| | | |rows=3 |
| <div style="margin-bottom: 10px;">
| | |class=form-control |
| '''Series:'''<br>
| | }}} |
| {{{field|Series|input type=tokens|values from category=Series|size=45|placeholder=e.g. Half-Life (Series)}}}
| | |label=System Requirements: |
| </div>
| | }} |
| | | {{form row |
| <div style="display: flex; gap: 10px; margin-bottom: 10px;">
| | |{{{field |
| <div style="flex: 1;">'''Release Date:'''<br>{{{field|Release date|input type=datepicker|date format=dd.mm.yy}}}</div>
| | |Multiplayer tools |
| <div style="flex: 1;">'''Cover Image:'''<br>{{{field|Image|uploadable}}}</div>
| | |input type=tokens |
| </div>
| | |values from property=Has multiplayer tools |
| </div>
| | |delimiter=, |
| | | |class=form-control |
| <div style="margin-bottom: 20px; background: #fff; border: 1px solid #e0e0e0; padding: 15px; border-radius: 4px;">
| | }}} |
| <div style="border-bottom: 2px solid #3366cc; color: #333; margin-bottom: 10px; padding-bottom: 5px; font-weight: bold;">
| | |label=Multiplayer Tools: |
| Links & Version
| | |property=Has multiplayer tools |
| </div>
| | }} |
|
| | <p class="mb-0">Store Links:</p> |
| <div style="margin-bottom: 10px;">
| | {{{field|Store links|holds template}}} |
| '''Current Version:'''<br>{{{field|Current version|input type=text|size=20}}}
| | <p class="mb-0">Community Links:</p> |
| </div>
| | {{{field|Community links|holds template}}} |
| <div style="margin-bottom: 10px;">
| | {{{end template}}} |
| '''Community Links:'''<br>{{{field|Community|input type=text|size=45}}}
| | {{{for template|Store link|multiple|embed in field=Game[Store links]|add button text=Add store link}}} |
| </div>
| | {{Link fields|Store links}} |
| <div style="margin-bottom: 10px;">
| | {{{end template}}} |
| '''Store Links:'''<br>{{{field|Store links|input type=text|size=45}}}
| | {{{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>
| |
| <div style="flex: 1; min-width: 300px;">
| |
| | |
| <div style="margin-bottom: 20px; background: #fff; border: 1px solid #e0e0e0; padding: 15px; border-radius: 4px;">
| |
| <div style="border-bottom: 2px solid #3366cc; color: #333; margin-bottom: 10px; padding-bottom: 5px; font-weight: bold;">
| |
| Classification
| |
| </div>
| |
| | |
| '''Genre:'''
| |
| <div style="margin-bottom: 8px; font-size: 90%;">
| |
| {{{field|Genre|input type=checkboxes|values=Action, Adventure, MMO, Racing, RPG, Shooter, Simulation, Sports, Strategy|delimiter=,|columns=3}}}
| |
| </div>
| |
| <hr style="border: 0; border-top: 1px dashed #eee; margin: 8px 0;">
| |
|
| |
| '''Setting:'''
| |
| <div style="margin-bottom: 8px; font-size: 90%;">
| |
| {{{field|Setting|input type=checkboxes|values=Modern Era, Fantasy, Sci-Fi, Historical, Post-Apocalyptic|delimiter=,|columns=3}}}
| |
| </div>
| |
| <hr style="border: 0; border-top: 1px dashed #eee; margin: 8px 0;">
| |
|
| |
| '''Modes:'''
| |
| <div style="font-size: 90%;">
| |
| {{{field|Has game mode|input type=checkboxes|values=Singleplayer, Multiplayer, Co-op|delimiter=,|columns=3}}}
| |
| </div>
| |
| </div>
| |
| | |
| <div style="margin-bottom: 20px; background: #fff; border: 1px solid #e0e0e0; padding: 15px; border-radius: 4px;">
| |
| <div style="border-bottom: 2px solid #3366cc; color: #333; margin-bottom: 10px; padding-bottom: 5px; font-weight: bold;">
| |
| Technical Specs
| |
| </div>
| |
| | |
| '''Original Release Platform:'''
| |
| <div style="margin-bottom: 10px; font-size: 90%;">
| |
| {{{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=3}}}
| |
| </div>
| |
| | |
| <div style="margin-bottom: 10px;">
| |
| '''System Requirements:'''<br>
| |
| {{{field|System requirements|input type=textarea|rows=4|style=width: 100%; box-sizing: border-box;}}}
| |
| </div>
| |
|
| |
| <div>
| |
| '''Multiplayer Tools:'''<br>
| |
| {{{field|Multiplayer tools|input type=tokens|delimiter=;|size=40}}}
| |
| </div>
| |
| </div>
| |
| | |
| </div>
| |
| </div>
| |
| <div style="margin-top: 20px; padding-top: 15px; border-top: 1px solid #ddd; text-align: right;">
| |
| {{{standard input|save}}} {{{standard input|preview}}} {{{standard input|cancel}}}
| |
| </div>
| |
|
| |
|
| </div>
| | {{{standard input|save}}} |
| {{{end template}}} | | {{{standard input|preview}}} |
| | {{{standard input|cancel}}} |
| | </includeonly> |