Difference between revisions of "Template:Infobox engine/query"
m (added +order=asc to release date property) |
m (removed available on column) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{# | + | <includeonly>{{#cargo_query: |
− | | | + | tables=Infobox_game |
− | | | + | |where=Engines HOLDS LIKE "Engine:{{{1|{{PAGENAME}}}}}" |
− | | | + | |fields=_pageName,Developers,Publishers,Released |
− | | | + | |format=template |
− | | | + | |named args=yes |
− | | | + | |intro={{Infobox engine/ti}} |
− | | | + | |template=Infobox engine/row |
− | | | + | |outro=</table></div> |
− | | | + | |limit={{{2|500}}} |
− | + | |more results text= | |
− | | default | + | |default= |
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 16:12, 4 April 2024
Description
Invoked either automatically through {{Infobox engine}} (if listgames is not set to false
) or manually at an appropriate location of the engine pages. Allows the selective hiding and repositioning of the list of games on engine pages, or includes lists of games using specific engines on other pages.
Limited to 500 games by default, but can be adjusted using the second parameter. It is not recommended to increase this parameter as the template include size limit of PCGamingWiki is easily reached, which will end up with the query not producing any output.
Syntax
Automatically includes a list of games using the engine of the page the command is called from. This basically only applies when used on engine pages:
{{Infobox engine/query}}
Automatically includes a list of games using the specified engine:
{{Infobox engine/query|Engine Name}}
Automatically includes a list of 250 games using the specified engine:
{{Infobox engine/query|Engine Name|250}}