|
|
| (50 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}}} |
| | {{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="max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid #ccc; box-shadow: 0 4px 12px rgba(0,0,0,0.06); font-family: sans-serif; color: #333;">
| | == 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 |
| | }} |
|
| |
|
| <!-- HEADER -->
| | == Technical Specs == |
| <div style="background: #3366cc; color: #fff; padding: 16px 24px; font-size: 1.3em; font-weight: bold;">
| | {{form row |
| Game Database Entry
| | |{{{field |
| </div>
| | |Platform |
| | | |input type=checkboxes |
| <!-- ESSENTIAL INFORMATION -->
| | |property=Has platform |
| <div style="padding: 24px; background: #f8f9fa; border-bottom: 1px solid #ddd;">
| | |delimiter=, |
| <div style="font-weight: bold; text-transform: uppercase; margin-bottom: 16px; font-size: 0.85em; color: #555;">
| | |class=form-control |
| Essential Information
| | }}} |
| </div>
| | |label=Original Platforms: |
| | | |property=Has platform |
| <div style="margin-bottom: 16px;">
| | }} |
| <strong>Game Name</strong><br>
| | {{form row |
| {{{field|Name|input type=text|size=60|placeholder=Enter the full official title}}}
| | |{{{field |
| </div>
| | |System requirements |
| | | |input type=textarea |
| <div style="display: flex; gap: 20px; margin-bottom: 16px; flex-wrap: wrap;">
| | |rows=3 |
| <div style="flex: 1; min-width: 240px;">
| | |class=form-control |
| <strong>Developer</strong><br>
| | }}} |
| {{{field|Developer|input type=text|autocomplete}}}
| | |label=System Requirements: |
| </div>
| | }} |
| <div style="flex: 1; min-width: 240px;">
| | {{form row |
| <strong>Publisher</strong><br>
| | |{{{field |
| {{{field|Publisher|input type=text|autocomplete}}}
| | |Multiplayer tools |
| </div>
| | |input type=tokens |
| </div>
| | |values from property=Has multiplayer tools |
| | | |delimiter=, |
| <div style="margin-bottom: 16px;">
| | |class=form-control |
| <strong>Series</strong><br>
| | }}} |
| {{{field|Series|input type=tokens|values from category=Series|placeholder=Type series name and press Enter}}}
| | |label=Multiplayer Tools: |
| </div>
| | |property=Has multiplayer tools |
| | | }} |
| <div style="display: flex; gap: 20px; flex-wrap: wrap;">
| | <p class="mb-0">Store Links:</p> |
| <div style="flex: 1; min-width: 200px;">
| | {{{field|Store links|holds template}}} |
| <strong>Release Date</strong><br>
| | <p class="mb-0">Community Links:</p> |
| {{{field|Release date|input type=datepicker|date format=dd.mm.yyyy}}}
| | {{{field|Community links|holds template}}} |
| </div>
| | {{{end template}}} |
| <div style="flex: 1; min-width: 200px;">
| | {{{for template|Store link|multiple|embed in field=Game[Store links]|add button text=Add store link}}} |
| <strong>Cover Image</strong><br>
| | {{Link fields|Store links}} |
| {{{field|Image|uploadable}}}
| | {{{end template}}} |
| </div>
| | {{{for template|Community link|multiple|embed in field=Game[Community links]|add button text=Add community link}}} |
| <div style="flex: 1; min-width: 200px;">
| | {{Link fields|Community links}} |
| <strong>Current Version</strong><br>
| | {{{end template}}} |
| {{{field|Current version|input type=text}}}
| |
| </div>
| |
| </div>
| |
| </div>
| |
| | |
| <!-- GAMEPLAY -->
| |
| <div style="padding: 24px; border-bottom: 1px solid #ddd;">
| |
| <div style="font-weight: bold; color: #3366cc; text-transform: uppercase; margin-bottom: 16px; font-size: 0.85em;">
| |
| Gameplay & Genre
| |
| </div>
| |
| | |
| <strong>Genre</strong><br>
| |
| {{{field|Genre|input type=checkboxes|values=Action,Adventure,MMO,Racing,RPG,Shooter,Simulation,Sports,Strategy|columns=4}}}
| |
| | |
| <br><br>
| |
| <strong>Setting</strong><br>
| |
| {{{field|Setting|input type=checkboxes|values=Modern Era,Fantasy,Sci-Fi,Historical,Post-Apocalyptic|columns=4}}}
| |
| | |
| <br><br>
| |
| <strong>Game Modes</strong><br>
| |
| {{{field|Has game mode|input type=checkboxes|values=Singleplayer,Multiplayer,Co-op|columns=3}}}
| |
| </div>
| |
| | |
| <!-- TECHNICAL -->
| |
| <div style="padding: 24px; background: #f8f9fa; border-bottom: 1px solid #ddd;">
| |
| <div style="font-weight: bold; text-transform: uppercase; margin-bottom: 16px; font-size: 0.85em; color: #555;">
| |
| Technical Specifications
| |
| </div>
| |
| | |
| <strong>Original Release Platforms</strong><br>
| |
| {{{field|Platform|input type=checkboxes|values=MS-DOS,Windows 95,Windows 98,Windows XP,Windows 7,Windows 10,Windows 11,Linux,Mac OS|columns=4}}}
| |
|
| |
|
| <br><br>
| | {{{standard input|save}}} |
| <strong>System Requirements</strong><br>
| | {{{standard input|preview}}} |
| {{{field|System requirements|input type=textarea|rows=4}}}
| | {{{standard input|cancel}}} |
| | | </includeonly> |
| <br><br>
| |
| <strong>Multiplayer Tools</strong><br>
| |
| {{{field|Multiplayer tools|input type=tokens|delimiter=;}}}
| |
| </div>
| |
| | |
| <!-- LINKS -->
| |
| <div style="padding: 24px;">
| |
| <div style="font-weight: bold; text-transform: uppercase; margin-bottom: 16px; font-size: 0.85em; color: #555;">
| |
| External Links
| |
| </div>
| |
| | |
| <strong>Store Links</strong><br>
| |
| {{{field|Store links|input type=text|size=70}}}
| |
| | |
| <br><br>
| |
| <strong>Community Links</strong><br>
| |
| {{{field|Community|input type=text|size=70}}}
| |
| </div>
| |
| | |
| <!-- ACTIONS -->
| |
| <div style="padding: 18px 24px; background: #f0f0f0; border-top: 1px solid #ccc; text-align: right;">
| |
| {{{standard input|save}}}
| |
| {{{standard input|preview}}}
| |
| {{{standard input|cancel}}}
| |
| </div> | |
| | |
| </div>
| |
| {{{end template}}}
| |