Difference between revisions of "Template:MusicHeader"

From Heroes Assemble MUSH
Jump to navigation Jump to search
Line 26: Line 26:
 
! style="background:{{{Color|black}}}; color:{{{TextColor|ffff66}}}; border: 1px ridge; font-size: 110%;" align="center" colspan="4" |  '''{{{MusicType|Single}}}'''
 
! style="background:{{{Color|black}}}; color:{{{TextColor|ffff66}}}; border: 1px ridge; font-size: 110%;" align="center" colspan="4" |  '''{{{MusicType|Single}}}'''
 
|-
 
|-
! style="background:{{{Color|black}}}; color:{{{TextColor|ffff66}}}; border: 1px ridge; font-size: 110%;" align="center" colspan="4" |  By '''{{{MusicMainCredit|Unknown}}}'''
+
|- class="LogRow"
 +
! class="LogCell" | By || class="LogCell" | {{#set:Music MainCredit={{{MusicMainCredit}}}}}{{{MusicMainCredit|Unknown}}}  
 
|-
 
|-
! style="color: #ffff66; text-align:left" | Released
+
|- class="LogRow"
! colspan="3" style="color: #C0C0C0; font-weight:normal;" | {{{MusicReleaseDate|No Date Specified}}}
+
! class="LogCell" | Released || class="LogCell" | {{#set:Music Date={{{MusicReleaseDate}}}}}{{#time: d F Y | {{{MusicReleaseDate}}} }}  
 
|-
 
|-
 
! style="color: #ffff66; text-align:left" | Studio  
 
! style="color: #ffff66; text-align:left" | Studio  
 
! colspan="3" style="color: #C0C0C0; font-weight:normal;" | {{{MusicRecordingStudio|No Studio Specified}}}
 
! colspan="3" style="color: #C0C0C0; font-weight:normal;" | {{{MusicRecordingStudio|No Studio Specified}}}
 
|-
 
|-
! style="color: #ffff66; text-align:left" | Genre
+
|- class="LogRow"
! colspan="3" style="color: #C0C0C0; font-weight:normal;" | {{{MusicGenre|No Genre Specified}}}
+
! class="LogCell" | Genre || class="LogCell" | {{#set:Music Genre={{{MusicGenre}}}}}{{{MusicGenre|No Genre Specified}}}  
 
|-
 
|-
 
! style="color: #ffff66; text-align:left" | Label  
 
! style="color: #ffff66; text-align:left" | Label  
Line 41: Line 42:
 
|-
 
|-
 
|- class="LogRow"
 
|- class="LogRow"
! class="LogCell" | Additional Credits: || class="LogCell" | {{#arraymap:{{{Cast of Characters}}}|,|x|{{#set:Log Characters=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|, }}  
+
! class="LogCell" | Additional Credits: || class="LogCell" | {{#arraymap:{{{Cast of Characters}}}|,|x|{{#set:Music Characters=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|, }}  
 
|}  [[Category:Musics]]
 
|}  [[Category:Musics]]
  

Revision as of 17:05, 11 July 2022

This is the "Music Template" template. It should be called in the following format:

{{MusicHeader
| MusicTitle          = What is the Album / SongTitle?
| Img                 = Img link for Album
| MusicType           = What format music is this? Album? Single?
| MusicMainCredit     = Name of Persons / Group who recorded this
| MusicReleaseDate    = Release date
| MusicRecordingStudio= Where was this recorded?
| MusicGenre          = What Genre of Music is this?
| MusicRecordingLabel = Under what Label was it recorded under
| Cast of Characters   = Characters who have been credited on this work, use their number
}} 

Edit the page to see the template text.