Difference between revisions of "Creditstable"

From Sega Retro

Line 1: Line 1:
<includeonly><div style="font-size: 90%">{{{1|}}}</div>{{#if: {{{source|}}} |
+
<includeonly>{{clearvar|i|j}}<div style="font-size: 90%">{{{1|}}}</div>{{#if: {{{source|}}} |
 
<dt class="creditsource">''Source'':</dt> <dd>''{{{source|}}}''{{#if:{{{pdf|}}}|{{fileref|{{{pdf|}}}|page={{{pdfpage|}}}}}}}{{#if:{{{file|}}}|{{fileref|{{{file|}}}}}}}{{#if:{{{ref|}}}|{{ref|1={{{ref|}}}}}}} | [[Category:Credits without source]] }}</dd>{{#if:{{{pdf|}}}{{{file|}}}{{{ref|}}}||[[Category:Credits without reference]]}}
 
<dt class="creditsource">''Source'':</dt> <dd>''{{{source|}}}''{{#if:{{{pdf|}}}|{{fileref|{{{pdf|}}}|page={{{pdfpage|}}}}}}}{{#if:{{{file|}}}|{{fileref|{{{file|}}}}}}}{{#if:{{{ref|}}}|{{ref|1={{{ref|}}}}}}} | [[Category:Credits without source]] }}</dd>{{#if:{{{pdf|}}}{{{file|}}}{{{ref|}}}||[[Category:Credits without reference]]}}
 
{{rep|{{{1|}}}|'''||**|*|var=allLines}}{{#vardefine:i|1}}{{#iferror:{{#var:allLines}}|{{#var:allLines}}|
 
{{rep|{{{1|}}}|'''||**|*|var=allLines}}{{#vardefine:i|1}}{{#iferror:{{#var:allLines}}|{{#var:allLines}}|

Revision as of 06:24, 25 October 2021

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[1]