Difference between revisions of "ProductionHistory"

From Sega Retro

(One intermediate revision by the same user not shown)
Line 17: Line 17:
 
}}
 
}}
 
}}
 
}}
 
+
{{#vardefine:unreleased|yes}}
 +
{{#vardefine:unreleasedcontents|{{#cargo_query:
 +
tables=credits,unreleased
 +
|fields=credits.role=role,credits.name=name,credits.game=game,credits.console,credits.date,credits.pdf,credits.pdfpage
 +
|where=({{#var:command}}) and unreleased.name != ""
 +
|join on=credits.game=unreleased.name
 +
|order by=unreleased.name
 +
|group by=credits.console, credits.game, credits.role
 +
|default=
 +
|limit=10000
 +
|format=template
 +
|template=ProductionHistoryLine
 +
}}
 +
}}
 +
{{#vardefine:unreleased|}}
 
{{#vardefine:gameContentsHistoryCount|{{#var:historyCount}}}}{{#vardefine:historyCount|0}}
 
{{#vardefine:gameContentsHistoryCount|{{#var:historyCount}}}}{{#vardefine:historyCount|0}}
  
Line 54: Line 68:
 
<!-- display -->
 
<!-- display -->
 
}}</div>{{#if:{{#var:contents}}|{{#if:{{#var:musicContents}}{{#var:videoContents}}|<h3>Games</h3>
 
}}</div>{{#if:{{#var:contents}}|{{#if:{{#var:musicContents}}{{#var:videoContents}}|<h3>Games</h3>
|}}{{multicol|{{#var:contents}}
+
|}}{{multicol|{{#var:contents}}{{#var:unreleasedcontents}}
 
|cols={{#expr:{{MulticolColumnCalc|{{#var:gameContentsHistoryCount}}}}-1}}
 
|cols={{#expr:{{MulticolColumnCalc|{{#var:gameContentsHistoryCount}}}}-1}}
 
}}}}{{
 
}}}}{{

Revision as of 04:21, 9 August 2022

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:

Games

Music