Difference between revisions of "Template:Infobox game/row/publisher"

From PCGamingWiki, the wiki about fixing PC games
(added vardefines for Cargo)
(added Company: namespace for Cargo)
Line 2: Line 2:
 
<td class="template-infobox-type">{{{2|}}}</td>
 
<td class="template-infobox-type">{{{2|}}}</td>
 
<td class="template-infobox-info">[[Published by::Company:{{{1|}}}|{{#formredlink:target=Company:{{urlencode:{{{1|}}}|WIKI}}|form=Company page|link text={{{1|}}}|existing page link text={{{1|}}}}}]]{{{ref|}}}{{#if: {{{1|}}} | | {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (infobox game)‎]]}}}}</td>
 
<td class="template-infobox-info">[[Published by::Company:{{{1|}}}|{{#formredlink:target=Company:{{urlencode:{{{1|}}}|WIKI}}|form=Company page|link text={{{1|}}}|existing page link text={{{1|}}}}}]]{{{ref|}}}{{#if: {{{1|}}} | | {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (infobox game)‎]]}}}}</td>
</tr>{{#vardefine:publishers|{{#if:{{#var:publishers}}|{{#var:publishers}},{{{1|}}}|{{{1|}}}}}}}
+
</tr>{{#vardefine:publishers|{{#if:{{#var:publishers}}|{{#var:publishers}},Company:{{{1|}}}|Company:{{{1|}}}}}}}

Revision as of 09:27, 4 September 2021