Template:Game Credits

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Revision as of 15:27, 14 January 2024 by KojoB (talk | contribs)
Jump to navigation Jump to search

This template is to be used for the Credits sections on video game pages, and has specific pre-defined role IDs for video games.

It makes use of Lua code from Module:Game Credits.

Parameters

|title    = Header title of box. Default: "Credits"
|bg       = Background color of header title. "PBBT" is supported. Default: "Game"
|bg2      = Background color of role boxes.
|collapse = Whether the box is collapsed. Default: "alt"
|split    = Until which row the box collapses. Default: "1" (the first row)
|role#    = The role's title in English.
|rolejp#  = The role's title in Japanese, if applicable.
|name#    = The name(s) of the credited. Separate names with <br/> and use {{Col}} for both English & Japanese.

Pre-Defined Roles

A table of pre-defined role IDs and their corresponding English and Japanese titles can be found in Module:Game Credits/roles.

The list can be expanded by editing that page, although an ID must:

  • have a unique yet fairly short name.
  • start with an underscore (_).
  • have the first letter be in lowercase.
  • be given an array value with both English and Japanese (e.g., { "Original Work", "原作" }), or an empty string for the Japanese if unavailable ("").

Examples of good IDs can be found on the page already.

Example

Credits
Original Work (原作)
荒木 飛呂彦
Director
Hiroshi Matsuyama
Artists
Adrien Saito
Zi Wang
Jumpei Mikuriya
{{Game Credits|split=2
|role1    = _original
|name1    = {{Col|[[Hirohiko Araki]]|荒木 飛呂彦}}
|role2    = Director
|role2jp  = ディレクター
|name2    = Hiroshi Matsuyama
|role3    = Artists
|name3    = Adrien Saito<br />Zi Wang<br />Jumpei Mikuriya
}}