Difference between revisions of "Template:Infobox company/query"
From PCGamingWiki, the wiki about fixing PC games
m (-->) |
m (|) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#if:{{#var:pageName|}}{{#var:pageNameSpaces|}}|<!-- | + | -->{{#if:{{#var:pageName|}}{{#var:pageNameSpaces|}}||<!-- |
-->{{#vardefine:pageName|{{#arraymap:{{{1|{{PAGENAME}}}}}|\s|€€€€€|€€€€€|_}}}}<!-- convert spaces ( ) to underscore (_) | -->{{#vardefine:pageName|{{#arraymap:{{{1|{{PAGENAME}}}}}|\s|€€€€€|€€€€€|_}}}}<!-- convert spaces ( ) to underscore (_) | ||
-->{{#vardefine:pageName|{{#arraymap:{{#var:pageName}}|"|€€€€€|€€€€€|\"}}}}<!-- escape double quotes (", html entity: ") in the query using a backslash (\) | -->{{#vardefine:pageName|{{#arraymap:{{#var:pageName}}|"|€€€€€|€€€€€|\"}}}}<!-- escape double quotes (", html entity: ") in the query using a backslash (\) |
Revision as of 10:14, 28 September 2022
Documentation for the above template (sometimes hidden from view).
Description
Invoked either automatically through {{Infobox company}} (if listgames is not set to false
) or manually at an appropriate location of the company pages.
Allows the selective hiding and repositioning of the list of games on company pages, or includes lists of games made by specific companies on other pages.
Syntax
Automatically includes a bunch of lists of games made by the name of the page the command is called from. This basically only applies when used on company pages:
{{Infobox company/query}}
Automatically includes a list of games made by the specified name:
{{Infobox company/query|Company Name}}
Visit Template:Infobox company/query/Documentation to edit this text. (How does this work?)