Difference between revisions of "Creditstable"

From Sega Retro

Line 19: Line 19:
  
 
{{#ifexpr:{{#len:{{#var:currentNames}}}} > 0|
 
{{#ifexpr:{{#len:{{#var:currentNames}}}} > 0|
{{StoreCreditsLine|role={{#var:currentRole}}|nameList={{#var:currentNames}}|game={{PAGENAME}}|console={{{console|}}}|date={{{date|}}}|pdf={{{pdf|}}}|pdfpage={{{pdfpage|}}}}}
+
{{StoreCreditsLine|role={{#var:currentRole}}|nameList={{#var:currentNames}}|game={{PAGENAME}}|console={{{console|}}}|date={{{date|}}}|source={{{source|}}}|pdf={{{pdf|}}}|pdfpage={{{pdfpage|}}}}}
 
|}}
 
|}}
 
}}{{#if:{{{console|}}}||[[Category:Creditstable with no console field]]}}</div></includeonly><noinclude>
 
}}{{#if:{{{console|}}}||[[Category:Creditstable with no console field]]}}</div></includeonly><noinclude>
{{#cargo_declare:_table=credits|role=Text|name=Page|game=Text|console=Text|date=Text|pdf=File|pdfpage=Integer}}
+
{{#cargo_declare:
 +
_table=credits
 +
|role=Text
 +
|name=Page
 +
|game=Text
 +
|console=Text
 +
|date=Text
 +
|source=Text
 +
|pdf=File
 +
|pdfpage=Integer
 +
}}
 
==Usage==
 
==Usage==
 
===Example===
 
===Example===

Revision as of 17:05, 2 January 2020

This template defines the table "credits". View table.

Usage

Example

{{creditstable|
{{creditsheader|Header}}
* '''Role 1:''' Name
* '''Role 2:''' Name
|source=In-game credits
|console=MD
|pdf=GamePro US 001.pdf
|pdfpage=10
}}
Header
  • Role 1: Name
  • Role 2: Name
Source: In-game credits