Difference between revisions of "ProductionHistory"

From Sega Retro

Line 20: Line 20:
 
{{#vardefine:gameContentsHistoryCount|{{#var:historyCount}}}}{{#vardefine:historyCount|0}}
 
{{#vardefine:gameContentsHistoryCount|{{#var:historyCount}}}}{{#vardefine:historyCount|0}}
  
<!-- video -->
+
<!-- videos -->
 
{{#vardefine:videoContents|{{#cargo_query:
 
{{#vardefine:videoContents|{{#cargo_query:
 
tables=credits,releases
 
tables=credits,releases
Line 57: Line 57:
 
|cols={{#expr:{{MulticolColumnCalc|{{#var:gameContentsHistoryCount}}}}-1}}
 
|cols={{#expr:{{MulticolColumnCalc|{{#var:gameContentsHistoryCount}}}}-1}}
 
}}}}{{
 
}}}}{{
#if:{{#var:videoContents}}|<h3>Video</h3>
+
#if:{{#var:videoContents}}|<h3>Videos</h3>
 
{{multicol|{{#var:videoContents}}
 
{{multicol|{{#var:videoContents}}
 
|cols={{#expr:{{MulticolColumnCalc|{{#var:videoContentsHistoryCount}}}}-1}}
 
|cols={{#expr:{{MulticolColumnCalc|{{#var:videoContentsHistoryCount}}}}-1}}

Revision as of 15:46, 8 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