Difference between revisions of "Development:Seriesbox"

From PCGamingWiki, the wiki about fixing PC games
m (t4)
(test Cargo query)
Line 3: Line 3:
 
-->{{#if:{{NAMESPACE}}||{{#ifexpr:{{#var:series total}} > {{#var:series autohide}} | <tr><td colspan="2" class="template-seriesbox-series-link">⤏ [[{{#if:{{{link|}}}|{{{link}}}|Series:{{#var:Series}}}}|Go to series page]]</td></tr>}}}}
 
-->{{#if:{{NAMESPACE}}||{{#ifexpr:{{#var:series total}} > {{#var:series autohide}} | <tr><td colspan="2" class="template-seriesbox-series-link">⤏ [[{{#if:{{{link|}}}|{{{link}}}|Series:{{#var:Series}}}}|Go to series page]]</td></tr>}}}}
 
{{#var:series rendered|}}
 
{{#var:series rendered|}}
</table>{{#ifeq:{{NAMESPACE}}|Series|{{#ask: [[Category:Games]] [[Part of series::Series:{{PAGENAME}}]] [[Modification date::+]]
+
</table>{{#ifeq:{{NAMESPACE}}|Series|{{#cargo_query:
| ?Developed by=Developer
+
tables=Infobox_game
| ?Published by=Publisher
+
|where=Series HOLDS LIKE "{{PAGENAME}}"
| ?Release date=First release |+limit=1
+
|fields=Cover,_pageName,Developers,Publishers,Released,Available_on
| ?Available on=Systems|+order=desc
+
|format=template
| ?Release date#ISO|+limit=1
+
|named args=yes
| ?Cover filename #=Cover
+
|limit=500
| ?#-
+
|intro={{Series/ti}}
| introtemplate  = Series/ti
+
|template=Series/row
| template       = Series/t
+
|outro=</table></div>
| outrotemplate  = Series/to
 
| format        = template
 
| default        =
 
 
}}[[Category:Series]]}}{{#vardefine:series rendered|}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}[[Category:Series]]}}{{#vardefine:series rendered|}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 01:55, 16 October 2021

Documentation for the above template (sometimes hidden from view).