Difference between revisions of "CreditsTest"

From Sega Retro

Line 7: Line 7:
 
}}}}</div>{{#if: {{{source|}}} |
 
}}}}</div>{{#if: {{{source|}}} |
 
: ''Source: {{{source}}}'' }}</includeonly><noinclude>
 
: ''Source: {{{source}}}'' }}</includeonly><noinclude>
{{#cargo_declare:_table=credits|role=Text|name=Text|game=Text|console=Text|date=Text|ref=Wikitext}}
+
{{#cargo_declare:_table=credits|role=Text|name=Text|game=Text|console=Text|date=Text|ref=Text}}
 
<pre>
 
<pre>
 
{{creditsTest
 
{{creditsTest

Revision as of 06:22, 10 November 2017

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

{{creditsTest
| source=Instruction manual
| Programmer | Hivebrain
| Header type thing |
| Colours of the rainbow | Red, Orange, Yellow, Green, Blue, Indigo, Violet
| Capital of Egypt | Cairo
}}
  • Programmer: Hivebrain
Header type thing
  • Colours of the rainbow: Red, Orange, Yellow, Green, Blue, Indigo, Violet
  • Capital of Egypt: Cairo
Source: Instruction manual

An attempt at making credits more efficient. The template also outputs variables for rolecount ( in this example) as well as the entire text split into role_1, role_2 etc and name_1, name_2 etc. Unfortunately it would require editing every page that uses template:creditstable to implement. - Hivebrain (talk) 20:32, 12 August 2017 (CDT)

I think it's inevitable that every page with a list of credits is going to need to be edited, if not just to add sections to transclude things -Black Squirrel (talk) 03:47, 13 August 2017 (CDT)