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

From PCGamingWiki, the wiki about fixing PC games
m (URL-encode to support characters such as apostrophes ('), ampersands (&), or plus signs (+) in company names)
(added Company: namespace for Cargo)
(One intermediate revision by the same user not shown)
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>
+
</tr>{{#vardefine:publishers|{{#if:{{#var:publishers}}|{{#var:publishers}},Company:{{{1|}}}|Company:{{{1|}}}}}}}

Revision as of 09:27, 4 September 2021