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
(updated Wikipedia image)
Line 1: Line 1:
<table class="vertical-navbox template-infobox" id="infobox-engine">
+
{| 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%;"
<caption class="template-infobox-title">{{{title|{{PAGENAME}}}}} <includeonly>[[Category:Engines]]</includeonly></caption>
+
|+ style="padding-bottom: 2px; font-size: 125%; line-height: 1.2em; font-weight: bold;" |{{{title|{{PAGENAME}}}}}
 
+
|-
{{#if: {{{cover|}}} |
+
{{#if:{{{cover|}}}|
<tr>
+
{{!}} colspan="2" style="font-size: 110%; align: center; padding-top:5px; padding-bottom:5px" {{!}} [[File:{{{cover}}}{{!}}282px]]
<td class="template-infobox-cover" colspan="2">[[File:{{{cover}}}{{!}}{{{cover size|300px}}}]]</td>
 
</tr>
 
 
}}
 
}}
 +
|-
 +
{{Alternating rows table section
 +
|es=background:#f0f0f0;
  
<!-- Developer -->
+
|{{#if: {{{developer|}}} |
{{#if: {{{developer|}}} |
+
{{!}} style="text-align: left; vertical-align: top; padding: 2px 0px 2px 4px;" {{!}} '''Developer'''
<tr>
+
{{!}} style="text-align: right; vertical align: top; padding: 2px 4px 2px 0px;" {{!}} [[Developed by::Developer:{{{developer}}}|{{{developer}}}]]
<th class="template-infobox-header" colspan="2">Developers</th>
 
</tr>
 
<tr>
 
<td class="template-infobox-info plainlinks" colspan="2">[[Developed by::Company:{{{developer}}}|{{{developer}}}]]</td>
 
</tr>
 
 
}}
 
}}
  
<!-- Website -->
+
|{{#if: {{{website|}}} |
{{#if: {{{website|}}} |
+
{{!}} style="text-align: left; vertical-align: top; padding: 2px 0px 2px 4px;" {{!}} '''Website'''
<tr>
+
{{!}} style="text-align: right; vertical align: top; padding: 2px 4px 2px 0px;" {{!}} [[Website::{{{website}}}]]
<th class="template-infobox-header" colspan="2">Website</th>
 
</tr>
 
<tr>
 
<td class="template-infobox-info plainlinks" colspan="2">[[Website::{{{website}}}]]</td>
 
</tr>
 
 
}}
 
}}
  
<!-- First release -->
+
|{{#if: {{{first release|}}} |
{{#if: {{{founded|}}} |
+
{{!}} style="text-align: left; vertical-align: top; padding: 2px 0px 2px 4px;" {{!}} '''First release date'''
<tr>
+
{{!}} style="text-align: right; vertical align: top; padding: 2px 4px 2px 0px;" {{!}} [[Engine first release::{{{first release}}}]]
<th class="template-infobox-header" colspan="2">First release date</th>
 
</tr>
 
<tr>
 
<td class="template-infobox-info plainlinks" colspan="2">[[Engine first release::{{{first release}}}]]</td>
 
</tr>
 
 
}}
 
}}
  
<!-- Latest release -->
+
|{{#if: {{{latest release|}}} |
{{#if: {{{defunct|}}}|
+
{{!}} style="text-align: left; vertical-align: top; padding: 2px 0px 2px 4px;" {{!}} '''Latest release date'''
<tr>
+
{{!}} style="text-align: right; vertical align: top; padding: 2px 4px 2px 0px;" {{!}} [[Engine latest release::{{{latest release}}}]]
<th class="template-infobox-header" colspan="2">Latest release date</th>
 
</tr>
 
<tr>
 
<td class="template-infobox-info plainlinks" colspan="2">[[Engine latest release::{{{latest release}}}]]</td>
 
</tr>
 
 
}}
 
}}
  
 
<!-- Icons -->
 
<!-- Icons -->
{{#if: {{{wikipedia|}}}|
+
|{{#if: {{{wikipedia|}}}|
<tr>
+
{{!}} style="text-align: right; vertical-align: top; padding: 5px 4px 4px 6px;" colspan="2" {{!}} <!--
<td class="template-infobox-icons" colspan="2"><!--
+
-->[[File:Wikipedia Icon.svg|link=Wikipedia:{{{wikipedia}}}|alt={{PAGENAME}} at Wikipedia]]
-->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon svg-18 infobox-wikipedia">[[Wikipedia:{{{wikipedia}}}|&nbsp;]]</div> }}</td>
+
{{!-}}
</tr>
 
 
}}
 
}}
  
 
<!-- Hidden properties -->
 
<!-- Hidden properties -->
 
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}
 
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}
</table><includeonly>
+
}}
{{#ask: [[Category:Games]] [[Uses engine::Engine:{{PAGENAME}}]]
+
|}<includeonly>[[Category:Engines]]</includeonly><noinclude>{{Documentation}}</noinclude>
| ?Developed by=Developer
 
| ?Published by=Publisher
 
| ?Release date=First release |+limit=1
 
| ?Available on=Systems
 
| mainlabel      = Game
 
| intro          = <h2>Games</h2>
 
| introtemplate  = Template:Infobox engine/ti
 
| outrotemplate  = Template:Infobox engine/to
 
| template      = Template:Infobox engine/t
 
| format        = template
 
| default        =
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 

Revision as of 04:03, 15 August 2015

Template:Alternating rows table section
Infobox engine
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     = 
}}