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

MediaWiki:Common.css

From PC Gaming Shelter
Revision as of 12:44, 10 February 2026 by Sedaris (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
{{{info|add title=Add a new Game|edit title=Edit Game}}}

{{{for template|Game}}}
<div style="max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid #ccc; font-family: sans-serif; color: #333; font-size: 13px;">

<div style="background: #2a4b8d; color: white; padding: 10px 15px;">
  <span style="font-size: 1.2em; font-weight: bold;">Game Database Entry</span>
</div>

<div style="padding: 15px; background: #f9f9f9; border-bottom: 1px solid #ddd;">
  <div style="display: flex; gap: 15px; margin-bottom: 10px;">
    <div style="flex: 2;">
      '''Game Name:'''<br>
      {{{field|Name|input type=text|placeholder=Official Title|class=form-control|style=width:100%}}}
    </div>
    <div style="flex: 1;">
      '''Release Date:'''<br>
      {{{field|Release date|input type=datepicker|date format=dd.mm.yy}}}
    </div>
  </div>

  <div style="display: flex; gap: 15px; margin-bottom: 10px;">
    <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 style="flex: 1;">
      '''Series:'''<br>{{{field|Series|input type=tokens|values from category=Series|placeholder=e.g. Half-Life|size=20}}}
    </div>
  </div>

  <div style="display: flex; gap: 15px; align-items: flex-end;">
    <div style="flex: 1;">
      '''Cover Image:'''<br>{{{field|Image|uploadable}}}
    </div>
    <div style="flex: 1;">
       '''Version:'''<br>{{{field|Current version|input type=text|size=15}}}
    </div>
  </div>
</div>

<div style="padding: 15px; background: #ffffff; border-bottom: 1px solid #ddd;">
  <div style="font-weight: bold; color: #2a4b8d; border-bottom: 1px solid #eee; padding-bottom: 2px; margin-bottom: 8px;">Gameplay & Genre</div>

  <div style="margin-bottom: 12px;">
    <strong>Genre:</strong>
    <div class="checkbox-grid">
    {{{field|Genre|input type=checkboxes|values=Action, Adventure, MMO, Racing, RPG, Shooter, Simulation, Sports, Strategy|delimiter=}}}
    </div>
  </div>

  <div style="margin-bottom: 12px;">
    <strong>Setting:</strong>
    <div class="checkbox-grid">
    {{{field|Setting|input type=checkboxes|values=Modern Era, Fantasy, Sci-Fi, Historical, Post-Apocalyptic|delimiter=}}}
    </div>
  </div>

  <div>
    <strong>Modes:</strong>
    <div class="checkbox-grid">
    {{{field|Has game mode|input type=checkboxes|values=Singleplayer, Multiplayer, Co-op|delimiter=}}}
    </div>
  </div>
</div>

<div style="padding: 15px; background: #f9f9f9; border-bottom: 1px solid #ddd;">
  <div style="font-weight: bold; color: #2a4b8d; border-bottom: 1px solid #eee; padding-bottom: 2px; margin-bottom: 8px;">Technical Specs</div>

  <div style="margin-bottom: 12px;">
    <strong>Original Platforms:</strong>
    <div class="checkbox-grid" style="background: #fff; border: 1px solid #ddd; padding: 5px;">
      {{{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: 10px;">
    '''System Requirements:'''<br>
    {{{field|System requirements|input type=textarea|rows=2|style=width: 100%; box-sizing: border-box; font-family: monospace;}}}
  </div>

  <div>
    '''Multiplayer Tools:'''<br>
    {{{field|Multiplayer tools|input type=tokens|delimiter=;|size=50}}}
  </div>
</div>

<div style="padding: 15px; background: #ffffff;">
  <div style="display: flex; gap: 15px;">
    <div style="flex: 1;">
      '''Store Links:'''<br>{{{field|Store links|input type=text|size=50}}}
    </div>
    <div style="flex: 1;">
      '''Community Links:'''<br>{{{field|Community|input type=text|size=50}}}
    </div>
  </div>
</div>

<div style="padding: 10px 15px; background: #eee; 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}}}