Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Template:Infobox engine"

From PCGamingWiki, the wiki about fixing PC games
m (added |+order=desc for the available on column)
(removed Semantic MediaWiki property tagging (migrated to Cargo))
(4 intermediate revisions by 2 users not shown)
Line 14: Line 14:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Developed by::Company:{{{developer}}}|{{{developer}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">[[Company:{{{developer}}}|{{{developer}}}]]</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 24: Line 24:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Website::{{{website}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{{website}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 34: Line 34:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Engine first release::{{{first release}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{{first release}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 44: Line 44:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Engine latest release::{{{latest release}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{{latest release}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
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>
}}
+
}}</table><includeonly><span style="display:none">{{#default_form:Engine page}}</span><!--
 
+
-->{{#ifeq: {{{listgames|true}}} | false | | {{Infobox engine/query}} }}</includeonly><noinclude>{{#cargo_declare:
<!-- Hidden properties -->
+
_table=Engine
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}
+
|Developer=Page
</table><includeonly><span style="display:none">{{#default_form:Engine page}}</span>
+
|Website=URL
{{#ask: [[Category:Games]] [[Uses engine::Engine:{{PAGENAME}}]]
+
|First_release=Date
| ?Developed by=Developer
+
|Latest_release=Date
| ?Published by=Publisher
+
}}</noinclude><includeonly>{{#cargo_store:
| ?Release date=First release |+limit=1
+
_table=Engine
| ?Available on=Systems|+order=desc
+
|Developer=Company:{{{developer|}}}
| ?Release date#ISO|+limit=1
+
|Website={{{website|}}}
| intro          = <h2>Games</h2>
+
|First_release={{{first release|}}}
| introtemplate  = Template:Infobox engine/ti
+
|Latest_release={{{latest release|}}}
| outrotemplate  = Template:Infobox engine/to
 
| template      = Template:Infobox engine/t
 
| format        = template
 
| default        =
 
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</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     = 
}}