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 game/row/engine"

From PCGamingWiki, the wiki about fixing PC games
m (removed newline -- just figured out the issue (the ref parameter didn't have the necessary <ref></ref>))
m (added variable definition for UE5)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<tr>
+
<includeonly><tr>
 
<td class="template-infobox-type">{{{2|}}}</td>
 
<td class="template-infobox-type">{{{2|}}}</td>
<td class="template-infobox-info">[[Uses engine::Engine:{{{1|}}}|{{#formredlink:target=Engine:{{urlencode:{{{1|}}}|WIKI}}|form=Engine page|link text={{{name|{{{1|}}}}}}|existing page link text={{{name|{{{1|}}}}}}}}]]{{#if:{{{build|}}}|{{#vardefine:notes|true}}{{#tag:ref|[[Engine:{{{1|}}}|{{{1|}}}]] engine build: {{{build|}}}[[{{{1|}}} engine build::{{{build|}}}| ]]{{{ref|}}}|group=Note}}|{{{ref|}}}}}{{#if: {{{1|}}} | | {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (infobox game)‎]]}}}}</td>
+
<td class="template-infobox-info">[[Engine:{{{1|}}}|{{#formredlink:target=Engine:{{urlencode:{{{1|}}}|WIKI}}|form=Engine page|link text={{{name|{{{1|}}}}}}|existing page link text={{{name|{{{1|}}}}}}}}]]{{#if:{{{build|}}}|{{#vardefine:notes|true}}{{#tag:ref|[[Engine:{{{1|}}}|{{{1|}}}]] engine build: {{{build|}}}{{{ref|}}}|group=Note}}|{{{ref|}}}}}{{#if: {{{1|}}} | | {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (infobox game)‎]]}}}}</td>
 
</tr><!-- hidden properties
 
</tr><!-- hidden properties
 
-->{{#switch: {{lc:{{{1|}}}}}
 
-->{{#switch: {{lc:{{{1|}}}}}
 +
| unreal engine 5 = {{#vardefine:Unreal Engine 5|true}}
 +
| unreal engine 4 = {{#vardefine:Unreal Engine 4|true}}
 
| unity = {{#vardefine:Unity|true}}
 
| unity = {{#vardefine:Unity|true}}
| scummvm = [[Wrapper::ScummVM| ]]{{#vardefine:ScummVM|true}}
+
| scummvm = {{#vardefine:ScummVM|true}}
}}{{#vardefine:engines|{{#if:{{#var:engines}}|{{#var:engines}},Engine:{{{1}}}|Engine:{{{1}}}}}}}
+
}}{{#arraymap:{{{1|}}}|{{!}}|€€€€€|{{#if:{{#var:current}}||{{#vardefine:engines|{{#if:{{#var:engines}}|{{#var:engines}},Engine:€€€€€|Engine:€€€€€}}}}{{#vardefine:current|true}}}}}}{{#vardefine:current|}}
 +
</includeonly><noinclude>{{#cargo_declare:
 +
_table=Infobox_game_engine
 +
|Engine=Page
 +
|Build=String
 +
}}</noinclude><includeonly>{{#ifeq: {{NAMESPACE}} | | {{#cargo_store:
 +
_table=Infobox_game_engine
 +
|Engine=Engine:{{{1|}}}
 +
|Build={{{build|}}}
 +
}}|}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 06:10, 7 December 2023

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

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

{{Infobox game/row/engine}} is used to list engines and some basic information of them that is used in the game.

Arguments
  1. 1 - The first argument should always contain the name of the engine used.
    • Never list the engine as Custom, Inhouse or similar. This provides no additional information to the user.
  2. 2 - The second argument is optional and can be used if necessary to mention component/release it was used for.
    • E.g. if a specific version of the game used an older version of the engine, this can be used to add context such as Original release or 2017 re-release, or if the engine is only used on one operating system, writing the OS name (e.g. Linux) is also acceptable.
  3. name - The optional name argument is only used when the name shown on the page should be different from the link itself.
    • This is typically only used for Unity titles where the visual name is the specific version (e.g. name=Unity 2017) and the first argument left as Unity.
  4. build - The optional build argument specifies the version of the engine used. This information can be useful in the occasion where issues can occur specific to that engine version. This is typically paired with the ref argument to provide additional information when the engine version was last checked.
  5. ref - The optional ref argument is used to provide references for the rest of the information.
Syntax
{{Infobox game/row/engine| <ENGINE NAME> }}

Full syntax:

{{Infobox game/row/engine| <ENGINE NAME> | <USED FOR> | build= |name= | ref= }}
Engine version

When specifying an engine version for Unity and Unreal, the below format is typically used:

Unity:

{{Infobox game/row/engine|Unity|name=Unity 2017|build=2017.4.19f1|ref=<ref name="engineversion">{{Refcheck|user=Username|date=2001-12-31}}</ref>}}

Unreal Engine 4:

{{Infobox game/row/engine|Unreal Engine 4|build=4.12.4|ref=<ref name="engineversion">{{Refcheck|user=Username|date=2001-12-31}}</ref>}}