Difference between revisions of "Template:Infobox company"
From PCGamingWiki, the wiki about fixing PC games
(fixed "MacOS Intel 64-bit app" property name) |
m (added subsidaries field) |
||
Line 25: | Line 25: | ||
<tr> | <tr> | ||
<td class="template-infobox-info plainlinks" colspan="2">[[Parent company::Company:{{{parent}}}|{{{parent}}}]]</td> | <td class="template-infobox-info plainlinks" colspan="2">[[Parent company::Company:{{{parent}}}|{{{parent}}}]]</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- Subsidaries --> | ||
+ | {{#ifexpr: {{#ask: [[Parent company::{{FULLPAGENAME}}]] |format=count }} > 0 | | ||
+ | <tr> | ||
+ | <th class="template-infobox-header" colspan="2">Subsidaries</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="template-infobox-info plainlinks" colspan="2">{{#ask: [[Parent company::{{FULLPAGENAME}}]] |format=list|sep=<br> }}</td> | ||
</tr> | </tr> | ||
}} | }} |
Revision as of 14:55, 31 October 2020
Expression error: Unrecognized punctuation character "{".
Documentation for the above template (sometimes hidden from view).
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 }}
Visit Template:Infobox company/Documentation to edit this text. (How does this work?)