Difference between revisions of "ProductionHistory"

From Sega Retro

(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|{{#vardefine:command|credits.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 credits.name="{{#var:value}}"}}|}}
 
}}{{#cargo_query:
 
}}{{#cargo_query:
 
tables=credits,releases
 
tables=credits,releases
Line 8: Line 8:
 
|join on=credits._pageName=releases._pageName
 
|join on=credits._pageName=releases._pageName
 
|order by=releases.date
 
|order by=releases.date
|group by=console
+
|group by=credits.console, credits._pageName, credits.role
 
|format=template
 
|format=template
 
|template=ProductionHistoryLine
 
|template=ProductionHistoryLine
Line 16: Line 16:
  
 
==Example==
 
==Example==
<pre>{{ProductionHistory|Jason Kuo}}</pre>
+
<pre>{{ProductionHistory|Yoshitaka Tamaki|玉木 美孝}}</pre>
 
Produces:
 
Produces:
{{ProductionHistory|Jason Kuo}}[[Category:Sega Retro templates]]</noinclude>
+
{{ProductionHistory|Yoshitaka Tamaki|玉木 美孝}}[[Category:Sega Retro templates]]</noinclude>

Revision as of 14:32, 10 November 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|Yoshitaka Tamaki|玉木 美孝}}

Produces:

  • File:Shining in the Darkness MD credits.pdf
  • Sega TV Game Genga Gallery, Graphic Sha, page 35
  • 3.0 3.1 3.2 3.3 File:Shining Force MD credits.pdf
  • Sega TV Game Genga Gallery, Graphic Sha, page 37
  • 5.0 5.1 5.2 File:Landstalker MD credits.pdf
  • Sega TV Game Genga Gallery, Graphic Sha, page 30
  • File:Shining Force GBA credits.pdf