Difference between revisions of "Template:Infobox company"
m (remove \s as the test failed) |
m (added missing {} around template variable) |
||
Line 4: | Line 4: | ||
-->{{#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 (\) | ||
-->{{#vardefine:pageNameSpaces|{{#arraymap:{{PAGENAME}}|"|€€€€€|€€€€€|\"}}}}<!-- page name with spaces (needed for subsidaries), but with escaped double quotes (", html entity: ") in the query using a backslash (\) | -->{{#vardefine:pageNameSpaces|{{#arraymap:{{PAGENAME}}|"|€€€€€|€€€€€|\"}}}}<!-- page name with spaces (needed for subsidaries), but with escaped double quotes (", html entity: ") in the query using a backslash (\) | ||
− | -->{{#vardefine:formerNames|{{#arraymap:{{formernames|}}|#|€€€€€|€€€€€|#}}}}<!-- escape hash characters in former names using #, which it is stored as through another translation in Template:Infobox game/row/developer | + | -->{{#vardefine:formerNames|{{#arraymap:{{{formernames|}}}|#|€€€€€|€€€€€|#}}}}<!-- escape hash characters in former names using #, which it is stored as through another translation in Template:Infobox game/row/developer |
--> | --> | ||
{{#if: {{{cover|}}} | | {{#if: {{{cover|}}} | |
Revision as of 19:30, 6 April 2022
This template defines the table "Company". View table.
Description
Used on pages below the "Company" namespace.
Also automatically populates lists of games the company is involved in, unless disabled using listgames=false
. If the lists are disabled in this template call, add {{Infobox company/query}} call somewhere further down the page to have the lists appear there instead.
Syntax
{{Infobox company |title = |cover = |website = |parent = |formernames = |founded = |defunct = |wikipedia = |listgames = true }}