Actions

Template

Difference between revisions of "CreditsTest"

From Sega Retro

(Created page with "<includeonly><div style="font-size: 90%">{{#vardefine:rolecount|0}}{{#fornumargs: n | r | {{#ifexpr: {{#var:n}} mod 2 = 1 | {{#if: {{{{{#expr:{{#var:n}}+1}}|}}} | * '''{...")
(No difference)

Revision as of 20:33, 12 August 2017


{{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 (3 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)