Difference between revisions of "ProductionHistory"

From Sega Retro

(10 intermediate revisions by 2 users not shown)
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 credits.name="{{#var:value}}"}}|}}
}}
+
}}{{#cargo_query:
{{#var:command}}
+
tables=credits,releases
{{#cargo_query:
+
|fields=credits.role=role,credits.name=name,credits._pageName=game,credits.console,credits.date,credits.pdf,credits.pdfpage,releases.date
table=credits
 
|fields=role,name,game,console,date
 
 
|where={{#var:command}}
 
|where={{#var:command}}
 +
|join on=credits._pageName=releases._pageName
 +
|order by=releases.date
 +
|group by=credits.console, credits._pageName, credits.role
 
|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|Yoshitaka Tamaki|玉木 美孝}}</pre>
 +
Produces:
 +
{{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
  • 4.0 4.1 4.2 File:Landstalker MD credits.pdf
  • Sega TV Game Genga Gallery, Graphic Sha, page 30
  • File:Shining Force GBA credits.pdf