Difference between revisions of "MusicCreditsTable"
From Sega Retro
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{|class="prettytable sortable" | + | <includeonly>{{#vardefine:format|{{{format|}}}}}{|class="prettytable sortable" |
− | !ID | + | {{#ifeq:{{{noid|}}}|yes|{{#vardefine:noid|{{{noid|}}}}}|!ID}} |
− | !Name | + | {{#ifeq:{{{noname|}}}|yes|{{#vardefine:noname|{{{noname|}}}}}|!Name}} |
!class="unsortable"|Description | !class="unsortable"|Description | ||
!Credits | !Credits | ||
Line 8: | Line 8: | ||
|- | |- | ||
{{{1}}} | {{{1}}} | ||
− | |}</includeonly><noinclude> | + | |}{{clearvar|format|noid|noname}}</includeonly><noinclude>This template is for displaying individual song credits. For use on [[:Category:Credits|production credits]] sub-pages. |
+ | ==Usage== | ||
+ | <pre> | ||
+ | {{MusicCreditsTable|format=xx| | ||
+ | {{MusicCreditsRow | ||
+ | | ID= <!-- IDs from the sound test or in the game's data. --> | ||
+ | | name= <!-- Song name, if applicable. --> | ||
+ | | desc= <!-- What the song is typically used for, e.g. Level 1 --> | ||
+ | | credits= | ||
+ | * '''Role 1:''' Name | ||
+ | * '''Role 2:''' Name | ||
+ | | used=no <!-- Use this parameter if the song is not used in normal play, e.g. Song ID 10 from Sonic 2. --> | ||
+ | | comments= | ||
+ | }} | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | If there are no song IDs and/or names, use "<tt>noid=yes</tt>" and/or "<tt>noname=yes</tt>" respectively. | ||
+ | |||
+ | ==Examples== | ||
{{MusicCreditsTable| | {{MusicCreditsTable| | ||
{{MusicCreditsRow | {{MusicCreditsRow | ||
Line 15: | Line 34: | ||
|name=Bums | |name=Bums | ||
|desc=A song about bums | |desc=A song about bums | ||
− | |credits=Mr. Bums | + | |credits= |
+ | *'''Is a bum:''' [[Mr. Bums]] | ||
+ | *'''May also be a bum:''' [[Mrs. Bums]] | ||
+ | |comments=Samples "Bums Bums Bums" by Bums Inc. | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | {{MusicCreditsTable|format=MD|noid=yes|noname=yes| | ||
+ | {{MusicCreditsRow | ||
+ | |ID=10 | ||
+ | |name=Bums | ||
+ | |desc=A song about bums | ||
+ | |credits= | ||
+ | *'''Is a bum:''' [[Mr. Bums]] | ||
+ | *'''May also be a bum:''' [[Mrs. Bums]] | ||
+ | |used=no | ||
|comments=Samples "Bums Bums Bums" by Bums Inc. | |comments=Samples "Bums Bums Bums" by Bums Inc. | ||
}} | }} |
Latest revision as of 15:48, 9 December 2022
This template is for displaying individual song credits. For use on production credits sub-pages.
Usage
{{MusicCreditsTable|format=xx| {{MusicCreditsRow | ID= <!-- IDs from the sound test or in the game's data. --> | name= <!-- Song name, if applicable. --> | desc= <!-- What the song is typically used for, e.g. Level 1 --> | credits= * '''Role 1:''' Name * '''Role 2:''' Name | used=no <!-- Use this parameter if the song is not used in normal play, e.g. Song ID 10 from Sonic 2. --> | comments= }} }}
If there are no song IDs and/or names, use "noid=yes" and/or "noname=yes" respectively.
Examples
ID | Name | Description | Credits | Used | Comments |
---|---|---|---|---|---|
10 | Bums | A song about bums | Yes | Samples "Bums Bums Bums" by Bums Inc. |
Description | Credits | Used | Comments |
---|---|---|---|
A song about bums | No | Samples "Bums Bums Bums" by Bums Inc. |