PC Gaming Shelter
An archive dedicated to preserving PC Gaming history and more

Form:Game: Difference between revisions

From PC Gaming Shelter
No edit summary
No edit summary
 
(47 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: 950px; margin: 0 auto; background: #fff; border: 1px solid #ccc; 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: 20px 30px; background: #f9f9f9; border-bottom: 1px solid #e0e0e0;">
== Technical Specs ==
  <div style="font-weight: bold; color: #555; text-transform: uppercase; margin-bottom: 15px; font-size: 0.9em; letter-spacing: 0.5px;">Essential Information</div>
{{form row
 
|{{{field
  <div style="display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 15px;">
  |Platform
    <div style="flex: 2; min-width: 300px;">
  |input type=checkboxes
      '''Game Name:'''<br>
  |property=Has platform
      {{{field|Name|input type=text|placeholder=Enter full official title|class=form-control|style=width:100%}}}
  |delimiter=,
    </div>
  |class=form-control
    <div style="flex: 1; min-width: 150px;">
}}}
      '''Release Date:'''<br>
|label=Original Platforms:
      {{{field|Release date|input type=datepicker|date format=dd.mm.yy}}}
|property=Has platform
    </div>
}}
  </div>
{{form row
 
|{{{field
  <div style="display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 15px;">
  |System requirements
    <div style="flex: 1;">
  |input type=textarea
      '''Developer:'''<br>{{{field|Developer|input type=text|autocomplete|size=25}}}
  |rows=3
    </div>
  |class=form-control
    <div style="flex: 1;">
}}}
      '''Publisher:'''<br>{{{field|Publisher|input type=text|autocomplete|size=25}}}
|label=System Requirements:
    </div>
}}
    <div style="flex: 1;">
{{form row
      '''Series:'''<br>{{{field|Series|input type=tokens|values from category=Series|placeholder=Series Name|size=25}}}
|{{{field
    </div>
  |Multiplayer tools
  </div>
  |input type=tokens
 
  |values from property=Has multiplayer tools
  <div style="display: flex; gap: 20px;">
  |delimiter=,
    <div style="flex: 1;">
  |class=form-control
      '''Cover Image:'''<br>{{{field|Image|uploadable}}}
}}}
    </div>
|label=Multiplayer Tools:
    <div style="flex: 1;">
|property=Has multiplayer tools
      '''Current Version:'''<br>{{{field|Current version|input type=text|size=20}}}
}}
    </div>
<p class="mb-0">Store Links:</p>
  </div>
{{{field|Store links|holds template}}}
</div>
<p class="mb-0">Community Links:</p>
 
{{{field|Community links|holds template}}}
<div style="padding: 20px 30px; background: #ffffff; border-bottom: 1px solid #e0e0e0;">
{{{end template}}}
  <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>
{{{for template|Store link|multiple|embed in field=Game[Store links]|add button text=Add store link}}}
 
{{Link fields|Store links}}
  <div style="margin-bottom: 20px;">
{{{end template}}}
    <div style="margin-bottom: 8px; font-weight: bold;">Genre:</div>
{{{for template|Community link|multiple|embed in field=Game[Community links]|add button text=Add community link}}}
    <div class="checkbox-grid">
{{Link fields|Community links}}
    {{{field|Genre|input type=checkboxes|values=Action, Adventure, MMO, Racing, RPG, Shooter, Simulation, Sports, Strategy|delimiter=,}}}
{{{end template}}}
    </div>
  </div>
 
  <div style="margin-bottom: 20px;">
    <div style="margin-bottom: 8px; font-weight: bold;">Setting:</div>
    <div class="checkbox-grid">
    {{{field|Setting|input type=checkboxes|values=Modern Era, Fantasy, Sci-Fi, Historical, Post-Apocalyptic|delimiter=,}}}
    </div>
  </div>
 
  <div style="margin-bottom: 5px;">
    <div style="margin-bottom: 8px; font-weight: bold;">Game Modes:</div>
    <div class="checkbox-grid">
    {{{field|Has game mode|input type=checkboxes|values=Singleplayer, Multiplayer, Co-op|delimiter=,}}}
    </div>
  </div>
</div>


<div style="padding: 20px 30px; background: #f9f9f9; border-bottom: 1px solid #e0e0e0;">
{{{standard input|save}}}  
  <div style="font-weight: bold; color: #555; text-transform: uppercase; margin-bottom: 15px; font-size: 0.9em; letter-spacing: 0.5px;">Technical Specifications</div>
{{{standard input|preview}}}  
 
{{{standard input|cancel}}}
  <div style="margin-bottom: 20px;">
</includeonly>
    <div style="margin-bottom: 8px; font-weight: bold;">Original Release Platforms:</div>
    <div class="checkbox-grid" 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=,}}}
    </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: 20px 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: 15px 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}}}

Latest revision as of 09:13, 23 March 2026