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 engine"

From PCGamingWiki, the wiki about fixing PC games
m
(removed Semantic MediaWiki property tagging (migrated to Cargo))
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<table class="vertical-navbox template-infobox" id="infobox-engine">
 
<table class="vertical-navbox template-infobox" id="infobox-engine">
<caption class="template-infobox-title">{{{title|{{PAGENAME}}}}} <includeonly>[[Category:Engines]]</includeonly></caption>
+
<caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}<includeonly>[[Category:Engines]]</includeonly></caption>
  
 
{{#if: {{{cover|}}} |
 
{{#if: {{{cover|}}} |
Line 14: Line 14:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Developed by::Company:{{{developer}}}|{{{developer}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">[[Company:{{{developer}}}|{{{developer}}}]]</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 24: Line 24:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Website::{{{website}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{{website}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
  
 
<!-- First release -->
 
<!-- First release -->
{{#if: {{{founded|}}} |
+
{{#if: {{{first release|}}} |
 
<tr>
 
<tr>
 
<th class="template-infobox-header" colspan="2">First release date</th>
 
<th class="template-infobox-header" colspan="2">First release date</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Engine first release::{{{first release}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{{first release}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
  
 
<!-- Latest release -->
 
<!-- Latest release -->
{{#if: {{{defunct|}}}|
+
{{#if: {{{latest release|}}}|
 
<tr>
 
<tr>
 
<th class="template-infobox-header" colspan="2">Latest release date</th>
 
<th class="template-infobox-header" colspan="2">Latest release date</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Engine latest release::{{{latest release}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{{latest release}}}</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Predecessor -->
 +
{{#if: {{{predecessor|}}} |
 +
<tr>
 +
<th class="template-infobox-header" colspan="2">Predecessor</th>
 +
</tr>
 +
<tr>
 +
<td class="template-infobox-info plainlinks" colspan="2">[[Engine:{{{predecessor}}}|{{{predecessor}}}]]</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Successor -->
 +
{{#if: {{{successor|}}} |
 +
<tr>
 +
<th class="template-infobox-header" colspan="2">Successor</th>
 +
</tr>
 +
<tr>
 +
<td class="template-infobox-info plainlinks" colspan="2">[[Engine:{{{successor}}}|{{{successor}}}]]</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 54: Line 74:
 
-->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon svg-18 infobox-wikipedia">[[Wikipedia:{{{wikipedia}}}|&nbsp;]]</div> }}</td>
 
-->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon svg-18 infobox-wikipedia">[[Wikipedia:{{{wikipedia}}}|&nbsp;]]</div> }}</td>
 
</tr>
 
</tr>
}}
+
}}</table><includeonly><span style="display:none">{{#default_form:Engine page}}</span><!--
 
+
-->{{#ifeq: {{{listgames|true}}} | false | | {{Infobox engine/query}} }}</includeonly><noinclude>{{#cargo_declare:
<!-- Hidden properties -->
+
_table=Engine
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}
+
|Developer=Page
</table><includeonly>[[Page has default form::Engine page| ]]
+
|Website=URL
{{#ask: [[Category:Games]] [[Uses engine::Engine:{{PAGENAME}}]]
+
|First_release=Date
| ?Developed by=Developer
+
|Latest_release=Date
| ?Published by=Publisher
+
}}</noinclude><includeonly>{{#cargo_store:
| ?Release date=First release |+limit=1
+
_table=Engine
| ?Available on=Systems
+
|Developer=Company:{{{developer|}}}
| mainlabel      = Game
+
|Website={{{website|}}}
| intro          = <h2>Games</h2>
+
|First_release={{{first release|}}}
| introtemplate  = Template:Infobox engine/ti
+
|Latest_release={{{latest release|}}}
| outrotemplate  = Template:Infobox engine/to
 
| template      = Template:Infobox engine/t
 
| format        = template
 
| default        =
 
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 08:15, 2 October 2021

Infobox engine

This template defines the table "Engine". View table.

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

Infobox only for engines.

Arguments
  • cover - File name of the uploaded logo of the engine. Leave blank if the engine does not have a logo attached to it.
  • developer - Developers of the engine.
  • website - Official website for the engine. Leave blank if the engine does not have a dedicated official website.
  • first release - First public release of the engine.
  • latest release - Latest public release of the engine.
  • predecessor - Previous iteration of the engine.
  • successor - Next iteration of the engine.
  • wikipedia - Wikipedia article for the engine.
  • listgames - false will hide the list of games using the engine. This can later be invoked by manually specifying {{Infobox engine/query}} at an appropriate location.
Syntax
{{Infobox engine
|cover         =
|developer     = 
|website       = 
|first release = 
|latest release= 
|predecessor   = 
|successor     = 
|wikipedia     = 
|listgames     = 
}}