Difference between revisions of "Creditstable"

From Sega Retro

(hmm)
Line 2: Line 2:
 
: ''Source: {{{source}}}''{{#if: {{{pdf|}}} |{{fileref|{{{pdf}}}|page={{{pdfpage|}}}}}| [[Category:Credits without reference]] }} | [[Category:Credits without source]] }}
 
: ''Source: {{{source}}}''{{#if: {{{pdf|}}} |{{fileref|{{{pdf}}}|page={{{pdfpage|}}}}}| [[Category:Credits without reference]] }} | [[Category:Credits without source]] }}
 
<div style="display:none;">
 
<div style="display:none;">
{{#vardefine:currentLine|NULL}}{{#vardefine:i|0}}
+
{{#vardefine:currentLine|NULL}}{{#vardefine:i|1}}
{{#vardefine:allLines|{{creditsheader|}}{{#replace:{{#replace:{{{1|}}}|'''}}|**|*}}}}
+
{{#vardefine:allLines|{{#replace:{{#replace:{{{1|}}}|'''}}|**|*}}}}
 
{{#while:
 
{{#while:
 
| {{#ifexpr:{{#len:{{#var:currentLine}}}} > 3|true|}}
 
| {{#ifexpr:{{#len:{{#var:currentLine}}}} > 3|true|}}

Revision as of 14:24, 23 November 2017

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