Template:Infobox game: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 108: Line 108:
<div class="infoboxfooter plainlinks" style="width:fit-content; text-align: center; {{#if:{{{1|}}}|background: #{{{1}}}|background: #224FA9}}"><span id="infoboxend"></span>&nbsp;</div>
<div class="infoboxfooter plainlinks" style="width:fit-content; text-align: center; {{#if:{{{1|}}}|background: #{{{1}}}|background: #224FA9}}"><span id="infoboxend"></span>&nbsp;</div>
{{#if:{{{1|}}}|{{rb|#{{{1}}}}}|{{rb|#224FA9}}}}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
{{#if:{{{1|}}}|{{rb|#{{{1}}}}}|{{rb|#224FA9}}}}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
WIP Infobox template for games. Since {{tl|Software}} had been reverted, game pages need a concise, simple infobox.
I decided that {{tl|Infotable}} doesn't quite fit the bill (doesn't have some relevant sections), and {{tl|Softwarebox}} is too complicated, and scripted more toward predetermined choices.
So I want to work on a new one, that gives both general data (date of release, platform, genre) as well as that most important to devs - AppID, engine/branch, what type of mods (gldsrc, sourcemod, addon), etc.
At the moment it's just a copy of COW's but doesn't fit VDC, not the least reason being, it was meant to work with COW's bright background.
So, it's all one big {{todo}} right now. I know I very vocally objected to overuse of templates, but this is quite different.


==Usage instructions==
==Usage instructions==

Revision as of 16:24, 19 June 2024

{{{name}}}

WIP Infobox template for games. Since {{Software}} had been reverted, game pages need a concise, simple infobox.

I decided that {{Infotable}} doesn't quite fit the bill (doesn't have some relevant sections), and {{Softwarebox}} is too complicated, and scripted more toward predetermined choices.

So I want to work on a new one, that gives both general data (date of release, platform, genre) as well as that most important to devs - AppID, engine/branch, what type of mods (gldsrc, sourcemod, addon), etc. At the moment it's just a copy of COW's but doesn't fit VDC, not the least reason being, it was meant to work with COW's bright background.

So, it's all one big [Todo] right now. I know I very vocally objected to overuse of templates, but this is quite different.

Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.

{{Game_Infobox
|image=
|image2=
|name=
|hidei=
|developer=
|date=
|genre=
|mode=
|platform=
|hidep=
|hideu=
|rating=
|distribution=
|system=
|input=
|engine=
|series=
|designer=
|writer=
|composer=
|previous=
|next=
}}

Display parameters

  • hidei
  • hidep
  • hideu

Credits

The original version of the infobox was created on Combine Overwiki, and copied from there for adapted use.