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 "User:Aemony/Sandbox/Infobox game"

From PCGamingWiki, the wiki about fixing PC games
m (d)
m (d)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Assignment/checkAvailable|{{PAGENAME}}}}<!--
+
<includeonly>{{Assignment/checkAvailable}}<!--
 
--><table class="vertical-navbox template-infobox" id="infobox-game">
 
--><table class="vertical-navbox template-infobox" id="infobox-game">
 
<caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}</caption>
 
<caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}</caption>
 
{{#if: {{{cover|}}} |
 
{{#if: {{{cover|}}} |
 
<tr>
 
<tr>
<td class="template-infobox-cover" colspan="2">{{#ifexist: File:{{{cover}}} | [[File:{{{cover}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} cover]]{{#set:|Cover={{filepath:{{{cover}}}}}|Cover filename=File:{{{cover}}}}} |''Cover image missing, please <span class="plainlinks">[https://pcgamingwiki.com/w/index.php?title=Special:Upload&wpDestFile={{urlencode:{{{cover}}}|WIKI}} upload it]</span>''[[Category:Pages needing cover images]]}}</td>
+
<td class="template-infobox-cover" colspan="2">{{#ifexist: File:{{{cover}}} | [[File:{{{cover}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} cover]]{{#set:|Cover={{filepath:{{{cover}}}}}|Cover filename=File:{{{cover}}}}} |''Cover image missing, please <span class="plainlinks">[{{fullurl:Special:Upload|wpDestFile={{urlencode:{{{cover}}}|WIKI}}}} upload it]</span>''[[Category:Pages needing cover images]]}}</td>
 
</tr>
 
</tr>
 
|[[Category:Pages needing cover images]]}}
 
|[[Category:Pages needing cover images]]}}
Line 103: Line 103:
 
-->{{#if: {{{gogcom page|}}} | [[Category:Invalid template usage (infobox game)]]}}</table><!--
 
-->{{#if: {{{gogcom page|}}} | [[Category:Invalid template usage (infobox game)]]}}</table><!--
 
-->{{#if:{{#var:Windows 3.x}}|{{#if:{{#var:Windows native}}||{{#vardefine:Warnings|true}} }}}}<!--
 
-->{{#if:{{#var:Windows 3.x}}|{{#if:{{#var:Windows native}}||{{#vardefine:Warnings|true}} }}}}<!--
 +
-->{{#arraymap:{{#var:sidebarSeries}}|,|€€€€€|{{#if:{{#var:sidebarSeriesShown}}||</dd>{{Series|€€€€€}}{{#vardefine:sidebarSeriesShown|true}}}}|}}<!--
 +
-->{{Tocbox}}<!--
 
-->{{#if:{{#show: {{PAGENAME}} | ?Warnings}}|{{#vardefine:Top warnings|true}}{{#vardefine:Top last|Infobox}}{{#vardefine:Top|{{#show: {{PAGENAME}} | ?Top}}}}{{#vardefine:DRM|{{#show: {{PAGENAME}} | ?Uses DRM}}}}{{#ifeq:{{#var:Top}}|Infobox|{{Warnings}}}}}}</includeonly><noinclude>{{#cargo_declare:
 
-->{{#if:{{#show: {{PAGENAME}} | ?Warnings}}|{{#vardefine:Top warnings|true}}{{#vardefine:Top last|Infobox}}{{#vardefine:Top|{{#show: {{PAGENAME}} | ?Top}}}}{{#vardefine:DRM|{{#show: {{PAGENAME}} | ?Uses DRM}}}}{{#ifeq:{{#var:Top}}|Infobox|{{Warnings}}}}}}</includeonly><noinclude>{{#cargo_declare:
 
_table=Infobox_game
 
_table=Infobox_game
Line 125: Line 127:
 
|Wikipedia={{{wikipedia|}}}
 
|Wikipedia={{{wikipedia|}}}
 
|License={{{license|}}}
 
|License={{{license|}}}
}}|}}{{#arraymap:{{#var:seriesBar}}|,|€€€€€|{{Series|€€€€€}}|}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
}}|}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 09:47, 22 October 2020

Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).