Difference between revisions of "Development:Infobox game"
From PCGamingWiki, the wiki about fixing PC games
(test section vardefine move) |
(1:1 with live) |
||
Line 4: | Line 4: | ||
{{#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]] | + | <td class="template-infobox-cover" colspan="2">{{#ifexist: File:{{{cover}}} | [[File:{{{cover}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} 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 111: | Line 111: | ||
-->{{#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|Windows 3.x}} }}}}<!-- | -->{{#if:{{#var:Windows 3.x}}|{{#if:{{#var:Windows native}}||{{#vardefine:Warnings|Windows 3.x}} }}}}<!-- | ||
− | -->{{#arraymap:{{#var:sidebarSeries}}|,|€€€€€|{{#if:{{#var:sidebarSeriesShown}}||</dd>{{ | + | -->{{#arraymap:{{#var:sidebarSeries}}|,|€€€€€|{{#if:{{#var:sidebarSeriesShown}}||</dd>{{Series|€€€€€}}{{#vardefine:sidebarSeriesShown|true}}}}|}}<!-- |
-->{{#vardefine:section|Infobox game}}<!-- | -->{{#vardefine:section|Infobox game}}<!-- | ||
-->{{Tocbox}}<!-- | -->{{Tocbox}}<!-- |
Revision as of 06:25, 21 October 2021
Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).
Visit Development:Infobox game/Documentation to edit this text. (How does this work?)