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))
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="vertical-navbox" cellspacing="1" cellpadding="0" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width: 300px; margin:0em 0 1.0em 1.0em; padding: 0.2em; border-spacing: 0.1em 0.1em 0.1em 0.1em; text-align: center; line-height: 1.4em; font-size: 93%;"
+
<table class="vertical-navbox template-infobox" id="infobox-engine">
|+ style="padding-bottom: 2px; font-size: 125%; line-height: 1.2em; font-weight: bold;" |{{{title|{{PAGENAME}}}}}
+
<caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}<includeonly>[[Category:Engines]]</includeonly></caption>
|-
+
 
{{#if:{{{cover|}}}|
+
{{#if: {{{cover|}}} |
{{!}} colspan="2" style="font-size: 110%; align: center; padding-top:5px; padding-bottom:5px" {{!}} [[File:{{{cover}}}{{!}}282px]]
+
<tr>
 +
<td class="template-infobox-cover" colspan="2">[[File:{{{cover}}}{{!}}{{{cover size|300px}}}]]</td>
 +
</tr>
 
}}
 
}}
|-
+
 
{{Alternating rows table section
+
<!-- Developer -->
|es=background:#f0f0f0;
+
{{#if: {{{developer|}}} |
|{{#if: {{{developer|}}} | {{Infobox/row|Developers| [[Developed by::{{{developer}}}]] }}}}
+
<tr>
|{{#if: {{{website|}}} | {{Infobox/row|Website| [[Website::{{{website}}}]] }}}}
+
<th class="template-infobox-header" colspan="2">Developers</th>
|{{#if: {{{first release|}}} | {{Infobox/row|First release date| [[Engine first release::{{{first release}}}]] }}}}
+
</tr>
|{{#if: {{{latest release|}}} | {{Infobox/row|Latest release date| [[Engine latest release::{{{latest release}}}]] }}}}
+
<tr>
 +
<td class="template-infobox-info plainlinks" colspan="2">[[Company:{{{developer}}}|{{{developer}}}]]</td>
 +
</tr>
 
}}
 
}}
|}<includeonly>[[Category:Engine]]</includeonly>
+
 
 +
<!-- Website -->
 +
{{#if: {{{website|}}} |
 +
<tr>
 +
<th class="template-infobox-header" colspan="2">Website</th>
 +
</tr>
 +
<tr>
 +
<td class="template-infobox-info plainlinks" colspan="2">{{{website}}}</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- First release -->
 +
{{#if: {{{first release|}}} |
 +
<tr>
 +
<th class="template-infobox-header" colspan="2">First release date</th>
 +
</tr>
 +
<tr>
 +
<td class="template-infobox-info plainlinks" colspan="2">{{{first release}}}</td>
 +
</tr>
 +
}}
 +
 
 +
<!-- Latest release -->
 +
{{#if: {{{latest release|}}}|
 +
<tr>
 +
<th class="template-infobox-header" colspan="2">Latest release date</th>
 +
</tr>
 +
<tr>
 +
<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>
 +
}}
 +
 
 +
<!-- Icons -->
 +
{{#if: {{{wikipedia|}}}|
 +
<tr>
 +
<td class="template-infobox-icons" colspan="2"><!--
 +
-->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon svg-18 infobox-wikipedia">[[Wikipedia:{{{wikipedia}}}|&nbsp;]]</div> }}</td>
 +
</tr>
 +
}}</table><includeonly><span style="display:none">{{#default_form:Engine page}}</span><!--
 +
-->{{#ifeq: {{{listgames|true}}} | false | | {{Infobox engine/query}} }}</includeonly><noinclude>{{#cargo_declare:
 +
_table=Engine
 +
|Developer=Page
 +
|Website=URL
 +
|First_release=Date
 +
|Latest_release=Date
 +
}}</noinclude><includeonly>{{#cargo_store:
 +
_table=Engine
 +
|Developer=Company:{{{developer|}}}
 +
|Website={{{website|}}}
 +
|First_release={{{first release|}}}
 +
|Latest_release={{{latest release|}}}
 +
}}</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     = 
}}