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
Tag: Reverted
No edit summary
 
(48 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid #ccc; font-family: sans-serif; color: #333; font-size: 13px;">
<noinclude>
{{#forminput: form=Game
|button text=Create or Edit Game Entry
|autocomplete on category=Games
|no autofocus
}}
{{DISPLAYTITLE: Add a New Game}}
</noinclude><includeonly>
{{{info|add title=Add a new Game Entry|edit title=Edit Game Entry}}}


<div style="background: #2a4b8d; color: white; padding: 10px 15px;">
{{{for template|Game}}}
   <span style="font-size: 1.2em; font-weight: bold;">Game Database Entry</span>
{{form row
</div>
|{{{field
  |Image
  |input type=text
  |uploadable
  |class=form-control
}}}
|label=Cover Image:
|property=Image
}}
{{form row
|{{{field
  |Has short description
  |input type=textarea
  |rows=3
  |class=form-control
}}}
|label=Short description:
|property=Has short description
}}
{{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
  |values from property=Has developer
  |delimiter=,
  |class=form-control
}}}
|label=Developer:
|property=Has developer
}}
{{form row
|{{{field
  |Publisher
  |input type=tokens
  |values from property=Has publisher
  |delimiter=,
   |class=form-control
}}}
|label=Publisher:
|property=Has publisher
}}
<!-- @WikiVisor: Series were not in the datasheet
{{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
  |Current version
  |input type=text
  |class=form-control
}}}
|label=Version:
|property=Has version
}}


<div style="padding: 15px; background: #f9f9f9; border-bottom: 1px solid #ddd;">
== Gameplay & Genre ==
   <div style="display: flex; gap: 15px; margin-bottom: 10px;">
{{form row
    <div style="flex: 2;">
|{{{field
      '''Game Name:'''<br>
  |Genre
      {{{field|Name|input type=text|placeholder=Official Title|style=display: block; width: 100%; height: 38px; box-sizing: border-box; padding: 6px; border: 1px solid #ccc; border-radius: 4px;}}}
  |input type=checkboxes
    </div>
  |property=Has genre
    <div style="flex: 1;">
  |delimiter=,
      '''Release Date:'''<br>
   |class=form-control
      {{{field|Release date|input type=datepicker|date format=dd.mm.yy|style=display: block; width: 100%; height: 38px; box-sizing: border-box; padding: 6px; border: 1px solid #ccc; border-radius: 4px;}}}
}}}
    </div>
|label=Genre:
  </div>
|property=Has genre
}}
{{form row
|{{{field
  |Setting
  |input type=tokens
  |property=Has setting
  |max values=1
  |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: 15px; margin-bottom: 10px;">
== Technical Specs ==
    <div style="flex: 1;">
{{form row
      '''Developer:'''<br>{{{field|Developer|input type=text|autocomplete|style=display: block; width: 100%; height: 38px; box-sizing: border-box; padding: 6px; border: 1px solid #ccc; border-radius: 4px;}}}
|{{{field
    </div>
  |Platform
    <div style="flex: 1;">
  |input type=tokens
      '''Publisher:'''<br>{{{field|Publisher|input type=text|autocomplete|style=display: block; width: 100%; height: 38px; box-sizing: border-box; padding: 6px; border: 1px solid #ccc; border-radius: 4px;}}}
  |property=Has platform
    </div>
  |max values=1
    <div style="flex: 1;">
  |class=form-control
      '''Series:'''<br>{{{field|Series|input type=tokens|values from category=Series|placeholder=e.g. Half-Life|style=display: block; width: 100%; min-height: 38px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px;}}}
}}}
    </div>
|label=Original Platform:
  </div>
|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
}}


  <div style="display: flex; gap: 15px; align-items: flex-end;">
== Links ==
    <div style="flex: 1;">
<p class="mb-0">Store Links:</p>
      '''Cover Image:'''<br>{{{field|Image|uploadable}}}
{{{field|Store links|holds template}}}
    </div>
<p class="mb-0">Community Links:</p>
    <div style="flex: 1;">
{{{field|Community links|holds template}}}
      '''Version:'''<br>{{{field|Current version|input type=text|style=display: block; width: 100%; height: 38px; box-sizing: border-box; padding: 6px; border: 1px solid #ccc; border-radius: 4px;}}}
{{{end template}}}
    </div>
{{{for template|Store link|multiple|embed in field=Game[Store links]|add button text=Add store link}}}
  </div>
{{Link fields|Store links}}
</div>
{{{end template}}}
{{{for template|Community link|multiple|maximum instances=1|embed in field=Game[Community links]|add button text=Add community link}}}
{{Link fields|Community links}}
{{{end template}}}
 
{{{standard input|save}}}  
{{{standard input|preview}}}
{{{standard input|cancel}}}
</includeonly>

Latest revision as of 19:06, 25 March 2026