Difference between revisions of "Template:Infobox engine"

From PCGamingWiki, the wiki about fixing PC games
m (removed newlines)
(removed Wikipedia tagging (never used); updated query subtemplate name; added Cargo handling)
Line 74: 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>
}}<!-- Hidden properties -->
+
}}</table><includeonly><span style="display:none">{{#default_form:Engine page}}</span><!--
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}
+
-->{{#ifeq: {{{listgames|true}}} | false | | {{Infobox engine/query}} }}</includeonly><noinclude>{{#cargo_declare:
</table><includeonly><span style="display:none">{{#default_form:Engine page}}</span><!--
+
_table=Engine
-->{{#ifeq: {{{listgames|true}}} | false | | {{Infobox engine/ask}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
+
|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 00:30, 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     = 
}}