Difference between revisions of "Template:Infobox engine"
From PCGamingWiki, the wiki about fixing PC games
m (image size) |
m (added {{Tocbox}}) |
||
(17 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <table class="vertical-navbox template-infobox" id="infobox-engine"> | |
− | + | <caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}<includeonly>[[Category:Engines]]</includeonly></caption> | |
− | + | ||
− | {{#if:{{{cover|}}}| | + | {{#if: {{{cover|}}} | |
− | + | <tr> | |
+ | <td class="template-infobox-cover" colspan="2">[[File:{{{cover}}}{{!}}{{{cover size|300px}}}]]</td> | ||
+ | </tr> | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | + | <!-- Developer --> | |
− | + | {{#if: {{{developer|}}} | | |
− | + | <tr> | |
+ | <th class="template-infobox-header" colspan="2">Developers</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="template-infobox-info plainlinks" colspan="2">[[Company:{{{developer}}}|{{{developer}}}]]</td> | ||
+ | </tr> | ||
}} | }} | ||
− | + | <!-- 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: {{{ | + | {{#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}}}| ]]</div> }}</td> | ||
+ | </tr> | ||
+ | }}</table><includeonly><span style="display:none">{{#default_form:Engine page}}</span><!-- | ||
+ | -->{{Tocbox}}{{#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> |
Latest revision as of 21:20, 13 February 2022
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 = }}
Visit Template:Infobox engine/Documentation to edit this text. (How does this work?)