Difference between revisions of "Creditstable"
From Sega Retro
Line 1: | Line 1: | ||
<includeonly><div style="font-size: 90%">{{{1|}}}</div>{{#if: {{{source|}}} | | <includeonly><div style="font-size: 90%">{{{1|}}}</div>{{#if: {{{source|}}} | | ||
− | + | <dt class="creditsource">''Source'':</dt> <dd>''{{{source|}}}''{{#if: {{{pdf|}}} |{{fileref|{{{pdf|}}}|page={{{pdfpage|}}}}}| [[Category:Credits without reference]] }} | [[Category:Credits without source]] }}</dd> | |
{{#vardefine:allLines|{{#replace:{{#replace:{{{1|}}}|'''}}|**|*}}}}{{#vardefine:i|1}}{{#iferror:{{#var:allLines}}|{{#var:allLines}}| | {{#vardefine:allLines|{{#replace:{{#replace:{{{1|}}}|'''}}|**|*}}}}{{#vardefine:i|1}}{{#iferror:{{#var:allLines}}|{{#var:allLines}}| | ||
{{#while:|{{#vardefine:currentLine|{{#explode:{{#var:allLines}}|*|{{#var:i}}}}}}{{#var:currentLine}} | {{#while:|{{#vardefine:currentLine|{{#explode:{{#var:allLines}}|*|{{#var:i}}}}}}{{#var:currentLine}} | ||
Line 68: | Line 68: | ||
|source=In-game credits | |source=In-game credits | ||
|console=32X | |console=32X | ||
+ | |pdf=GamePro US 001.pdf | ||
+ | |pdfpage=10 | ||
}} | }} | ||
[[Category:Sega Retro templates]]</noinclude> | [[Category:Sega Retro templates]]</noinclude> |
Revision as of 14:25, 20 May 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