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


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Development:Infobox company"

From PCGamingWiki, the wiki about fixing PC games
m (latest from live)
m (initial impleementation without any actual output formatting)
Line 29: Line 29:
  
 
<!-- Subsidaries -->
 
<!-- Subsidaries -->
{{#if: {{{parent|}}} |
+
{{#ifexpr: {{#ask: [[Parent company::{{FULLPAGENAME}}]] |format=count }} > 0 |
 
<tr>
 
<tr>
<th class="template-infobox-header" colspan="2">Parent company</th>
+
<th class="template-infobox-header" colspan="2">Subsidaries</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Parent company::Company:{{{parent}}}|{{{parent}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{#ask: [[Parent company::{{FULLPAGENAME}}]] |format=list }}</td>
 
</tr>
 
</tr>
 
}}
 
}}

Revision as of 14:50, 31 October 2020

Expression error: Unrecognized punctuation character "{".
Infobox company
Documentation for the above template (sometimes hidden from view).