Difference between revisions of "ProductionHistory"
From Sega Retro
Scarred Sun (talk | contribs) |
|||
Line 1: | Line 1: | ||
− | {{#if:{{{1|}}}|{{#vardefine:command|name="[[{{{1}}}]]"}}{{#fornumargs: n | + | {{#if:{{{1|}}}|{{#vardefine:command|credits.name="[[{{{1}}}]]"}}{{#fornumargs: n |
| value | | value | ||
| {{#vardefine:nameList|{{#var:nameList}},{{#var:value}}}}{{#ifexpr:{{#var:n}} > 1|{{#vardefine:command|{{#var:command}} OR name="[[{{#var:value}}]]"}}|}} | | {{#vardefine:nameList|{{#var:nameList}},{{#var:value}}}}{{#ifexpr:{{#var:n}} > 1|{{#vardefine:command|{{#var:command}} OR name="[[{{#var:value}}]]"}}|}} | ||
}}{{#cargo_query: | }}{{#cargo_query: | ||
− | + | tables=credits,releases | |
− | |fields=role,name,_pageName=game,console,date,pdf,pdfpage | + | |fields=credits.role=role,credits.name=name,credits._pageName=game,credits.console,credits.date,credits.pdf,credits.pdfpage,releases.date |
|where={{#var:command}} | |where={{#var:command}} | ||
− | |order by= | + | |join on=credits._pageName=releases._pageName |
+ | |order by=releases.date | ||
+ | |group by=console | ||
|format=template | |format=template | ||
|template=ProductionHistoryLine | |template=ProductionHistoryLine | ||
}} | }} | ||
|}} | |}} | ||
− | <noinclude>[[Category:Sega Retro templates]]</noinclude> | + | <noinclude>Template for listing the production history of a developer. This is all sourced from [[Template:Creditstable]] templates being used in game pages. |
+ | |||
+ | ==Example== | ||
+ | <pre>{{ProductionHistory|Jason Kuo}}</pre> | ||
+ | Produces: | ||
+ | {{ProductionHistory|Jason Kuo}}[[Category:Sega Retro templates]]</noinclude> |
Revision as of 16:34, 27 August 2018
Template for listing the production history of a developer. This is all sourced from Template:Creditstable templates being used in game pages.
Example
{{ProductionHistory|Jason Kuo}}
Produces: No results