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
 
(53 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: 1050px; background: #ffffff; border: 1px solid #dcdcdc; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 14px; 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="border-bottom: 2px solid #3366cc; margin-bottom: 20px; padding-bottom: 10px;">
== Gameplay & Genre ==
   <span style="font-size: 1.5em; font-weight: bold; color: #333;">Game Data 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="display: flex; gap: 40px; flex-wrap: wrap;">
== Technical Specs ==
{{form row
|{{{field
  |Platform
  |input type=checkboxes
  |property=Has platform
  |delimiter=,
  |class=form-control
}}}
|label=Original Platforms:
|property=Has platform
}}
{{form row
|{{{field
  |System requirements
  |input type=textarea
  |rows=3
  |class=form-control
}}}
|label=System Requirements:
}}
{{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="flex: 1; min-width: 350px;">
{{{standard input|save}}}  
   
{{{standard input|preview}}}  
    <div style="margin-bottom: 25px;">
{{{standard input|cancel}}}
      <div style="font-weight: bold; color: #3366cc; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px;">Basic Information</div>
</includeonly>
 
      <div style="margin-bottom: 12px;">
        '''Game Name:'''<br>
        {{{field|Name|input type=text|size=50|placeholder=Full Title|class=form-control}}}
      </div>
 
      <div style="display: flex; gap: 15px; margin-bottom: 12px;">
        <div style="flex: 1;">'''Developer:'''<br>{{{field|Developer|input type=text|autocomplete|size=20}}}</div>
        <div style="flex: 1;">'''Publisher:'''<br>{{{field|Publisher|input type=text|autocomplete|size=20}}}</div>
      </div>
 
      <div style="margin-bottom: 12px;">
        '''Series:'''<br>
        {{{field|Series|input type=tokens|values from category=Series|size=50|placeholder=Type and hit Enter}}}
      </div>
 
      <div style="display: flex; gap: 15px; margin-bottom: 12px;">
        <div style="flex: 1;">'''Release Date:'''<br>{{{field|Release date|input type=datepicker|date format=dd.mm.yy}}}</div>
        <div style="flex: 1;">'''Cover Image:'''<br>{{{field|Image|uploadable}}}</div>
      </div>
    </div>
 
    <div style="margin-bottom: 20px;">
      <div style="font-weight: bold; color: #3366cc; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px;">Versions & Links</div>
     
      <div style="margin-bottom: 10px;">
        '''Current Version:'''<br>{{{field|Current version|input type=text|size=20}}}
      </div>
      <div style="margin-bottom: 10px;">
        '''Store Links:'''<br>{{{field|Store links|input type=text|size=50}}}
      </div>
      <div style="margin-bottom: 10px;">
        '''Community Links:'''<br>{{{field|Community|input type=text|size=50}}}
      </div>
    </div>
 
  </div>
  <div style="flex: 1; min-width: 350px;">
 
    <div style="margin-bottom: 25px;">
      <div style="font-weight: bold; color: #3366cc; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px;">Classification</div>
 
      '''Genre:'''
      <div style="column-width: 120px; column-gap: 20px; margin-bottom: 12px;">
      {{{field|Genre|input type=checkboxes|values=Action, Adventure, MMO, Racing, RPG, Shooter, Simulation, Sports, Strategy|delimiter=,}}}
      </div>
     
      '''Setting:'''
      <div style="column-width: 120px; column-gap: 20px; margin-bottom: 12px;">
      {{{field|Setting|input type=checkboxes|values=Modern Era, Fantasy, Sci-Fi, Historical, Post-Apocalyptic|delimiter=,}}}
      </div>
     
      '''Game Modes:'''
      <div style="display: flex; gap: 20px; margin-bottom: 10px;">
      {{{field|Has game mode|input type=checkboxes|values=Singleplayer, Multiplayer, Co-op|delimiter=,}}}
      </div>
    </div>
 
    <div style="margin-bottom: 20px;">
      <div style="font-weight: bold; color: #3366cc; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px;">Technical Specs</div>
 
      '''Original Release Platforms:'''
      <div style="column-width: 130px; column-gap: 10px; margin-bottom: 15px; padding: 10px; background: #f9f9f9; 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 style="margin-bottom: 10px;">
        '''System Requirements:'''<br>
        {{{field|System requirements|input type=textarea|rows=4|style=width: 100%; box-sizing: border-box; font-family: monospace;}}}
      </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: 2px solid #3366cc; text-align: right; background: #fcfcfc; padding: 15px;">
{{{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