Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Infobox software"

From PCGamingWiki, the wiki about fixing PC games
m (added support for official site parameter)
m (added {{Tocbox}})
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<includeonly>{{#if: {{{cover|}}} |
 
<includeonly>{{#if: {{{cover|}}} |
 
<tr>
 
<tr>
<td class="template-infobox-cover" colspan="2">{{#ifexist: File:{{{cover}}} | [[File:{{{cover}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} cover]] |''Cover image missing, please <span class="plainlinks">[https://pcgamingwiki.com/w/index.php?title=Special:Upload&wpDestFile={{urlencode:{{{cover}}}|WIKI}} upload it]</span>''[[Category:Pages needing cover images]]}}</td>
+
<td class="template-infobox-cover" colspan="2">{{#ifexist: File:{{{cover}}} | [[File:{{{cover}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} cover]] |''Cover image missing, please <span class="plainlinks">[https://pcgamingwiki.com/w/index.php?title=Special:Upload&wpDestFile={{urlencode:{{{cover}}}|WIKI}} upload it]</span>''{{#if:{{NAMESPACE}}||[[Category:Pages needing cover images]]}}}}</td>
 
</tr>
 
</tr>
|[[Category:Pages needing cover images]]}}</includeonly>
+
|{{#if:{{NAMESPACE}}||[[Category:Pages needing cover images]]}}}}</includeonly>
  
 
{{#if: {{{developers|}}} |
 
{{#if: {{{developers|}}} |
Line 65: Line 65:
 
-->{{#ifeq: {{#var:OS X}} | ported | [[Category:Invalid template usage (infobox software)]]}}<!--
 
-->{{#ifeq: {{#var:OS X}} | ported | [[Category:Invalid template usage (infobox software)]]}}<!--
 
-->{{#ifeq: {{#var:Linux}} | ported | [[Category:Invalid template usage (infobox software)]]}}<!--
 
-->{{#ifeq: {{#var:Linux}} | ported | [[Category:Invalid template usage (infobox software)]]}}<!--
-->{{#if: {{{gogcom page|}}} | [[Category:Invalid template usage (infobox software)]]}}</table><noinclude>{{Documentation}}</noinclude>
+
-->{{#if: {{{gogcom page|}}} | [[Category:Invalid template usage (infobox software)]]}}</table><!--
 +
-->{{Tocbox}}<!--
 +
--><noinclude>{{#cargo_attach:
 +
_table = Infobox_game
 +
}}</noinclude><includeonly>{{#if:{{NAMESPACE}}||<!--
 +
-->{{#cargo_store:
 +
_table=Infobox_game
 +
|Cover={{#ifexist: File:{{{cover}}}|{{{cover|}}}|}}
 +
|Cover_URL={{filepath:{{{cover|}}}}}
 +
|Developers={{#var:developers}}
 +
|Porters_PC_booter={{#var:porters PC booter}}
 +
|Porters_DOS={{#var:porters DOS}}
 +
|Porters_Windows_3x={{#var:porters Windows 3.x}}
 +
|Porters_Windows={{#var:porters Windows}}
 +
|Porters_Mac_OS={{#var:porters Mac OS}}
 +
|Porters_OS_X={{#var:porters OS X}}
 +
|Porters_Linux={{#var:porters Linux}}
 +
|Publishers={{#var:publishers}}
 +
|Engines={{#var:engines}}
 +
|Available_on={{#var:available on}}
 +
|Released={{#var:released}};
 +
|Released_PC_booter={{#var:released PC booter}}
 +
|Released_DOS={{#var:released DOS}}
 +
|Released_Windows_3x={{#var:released Windows 3.x}}
 +
|Released_Windows={{#var:released Windows}}
 +
|Released_Mac_OS={{#var:released Mac OS}}
 +
|Released_OS_X={{#var:released OS X}}
 +
|Released_Linux={{#var:released Linux}}
 +
|Wrappers={{#var:wrappers}}
 +
|Wrappers_Windows_3x={{#var:Windows 3.x wrappers}}
 +
|Wrappers_Windows={{#var:Windows wrappers}}
 +
|Wrappers_OS_X={{#var:OS X wrappers}}
 +
|Wrappers_Linux={{#var:Linux wrappers}}
 +
|Monetization={{#var:monetization}}
 +
|Microtransactions={{#var:microtransactions}}
 +
|Modes={{#var:modes}}
 +
|Pacing={{#var:pacing}}
 +
|Perspectives={{#var:perspectives}}
 +
|Controls={{#var:controls}}
 +
|Genres={{#var:genres}}
 +
|Sports={{#var:sports}}
 +
|Vehicles={{#var:vehicles}}
 +
|Art_styles={{#var:art styles}}
 +
|Themes={{#var:themes}}
 +
|Series={{#var:sidebarSeries}}
 +
|Steam_AppID={{{steam appid|}}}{{#if:{{{steam appid side|}}}|,{{{steam appid side|}}}}}
 +
|GOGcom_ID={{{gogcom id|}}}{{#if:{{{gogcom id side|}}}|,{{{gogcom id side|}}}}}
 +
|StrategyWiki={{{strategywiki|}}}
 +
|Wikipedia={{{wikipedia|}}}
 +
|License={{{license|}}}
 +
}}<!--
 +
-->}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 11:32, 11 February 2023

Infobox software

This template adds rows to the table "Infobox_game", which is declared by the template Infobox game. View table.

Documentation for the above template (sometimes hidden from view).
Description

This template is in essence a minimally tweaked variant of {{Infobox game}}.

Syntax
{{Infobox software
|cover            = 
|developers       = 
{{Infobox game/row/developer|}}
{{Infobox game/row/porter|}}
|publishers       = 
{{Infobox game/row/publisher|}}
|engines          = 
{{Infobox game/row/engine|}}
|release dates    = 
{{Infobox game/row/date|Windows|}}
{{Infobox game/row/date|OS X|}}
{{Infobox game/row/date|Linux|}}
|steam appid      = 
|steam appid side = 
|gogcom id        = 
|gogcom id side   = 
|official site    = 
|strategywiki     = 
|wikipedia        = 
|winehq           = 
|license          = 
}}