Difference between revisions of "Template:Song"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width: 20em;"
+
<includeonly><table class="infobox vevent" style="width: 20em; border: 1px solid #280000; float:right; margin: 0 0 20px 20px; vertical-align: top;">
|-
+
  <tr>
! colspan="3" scope="col" style="background: DCDCDC;" | "{{{Name}}}"
+
    <th colspan="3" scope="col" class="summary" style="text-align: center; background: #280000; color: #FFFFFF;">{{#if:{{{Name|}}}|"{{{Name}}}"|Untitled}}</th>
|-
+
  </tr>
| colspan="3" style="text-align: center;" | {{#if: {{{Cover|}}}
+
{{#ifeq:{{{Cover size|}}}|0||
| [[Image:{{{Cover}}}|{{min|220|{{{Cover size|}}}}}px|{{#ifeq:{{{Border|}}}|yes|border{{!}}}}{{#if: {{{Caption|}}} | {{{Caption}}} | "{{{Name}}}" cover}}]]}}
+
  <tr>
{{#if:{{{Caption|}}} | <div style="font-size: 0.8em; line-height: 1.4em;">{{{Caption}}}</div>
+
    <td colspan="3" style="text-align: center;">{{#if:{{{Cover|}}}|[[Image:{{{Cover}}}|200px|{{#ifeq:{{{Border|}}}|yes|border{{!}}}}{{{Name}}} cover]]
 
}}
 
}}
|-
+
{{#if:{{{Caption|}}}|<div style="font-size: 0.8em; line-height: 1.4em;">{{{Caption}}}</div>
! colspan="3" scope="col" style="background: DCDCDC;" | {{#if: {{{Type|}}} | {{{Type}}} |Song}} {{#if:{{{Artist|}}} | by {{{Artist}}}}}
+
|-
+
{{#if:{{{Album|}}} |
+
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Album
+
{{!}} colspan="2" style="width: 14em;" {{!}} ''{{{Album}}}''
+
{{!-}}
+
 
}}
 
}}
{{#if:{{{Published|}}} |
+
    </td>
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Published
+
  </tr>
{{!}} colspan="2" style="width: 14em;" {{!}} {{{Published}}}
+
{{!-}}
+
 
}}
 
}}
{{#if:{{{Released|}}} |
+
  <tr>
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Released
+
    <th colspan="3" scope="col" class="description" style="text-align: center; background: #e8e8e8;">Song{{#if:{{{Artist|}}}|&#32;by {{{Artist}}}}}</th>
{{!}} colspan="2" style="width: 14em;" {{!}} {{{Released}}}
+
  </tr>
{{!-}}
+
{{#if:{{{Album|}}}|
 +
  <tr>
 +
    <th scope="row" style="width: 5.2em; text-align: left;">Album</th>
 +
    <td colspan="2" style="width: 14em;">''{{{Album}}}''</td>
 +
  </tr>
 
}}
 
}}
{{#if:{{{Format|}}} |
+
{{#if:{{{Released|}}}|
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Format
+
  <tr>
{{!}} colspan="2" style="width: 14em;" {{!}} {{{Format}}}
+
    <th scope="row" style="width: 5.2em; text-align: left;">Released</th>
{{!-}}
+
    <td colspan="2" style="width: 14em;">{{{Released}}}</td>
 +
  </tr>
 
}}
 
}}
{{#if:{{{Recorded|}}} |
+
{{#if:{{{Recorded|}}}|
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Recorded
+
  <tr>
{{!}} colspan="2" style="width: 14em;" {{!}} {{{Recorded}}}
+
    <th scope="row" style="width: 5.2em; text-align: left;">Recorded</th>
{{!-}}
+
    <td colspan="2" style="width: 14em;">{{{Recorded}}}</td>
 +
  </tr>
 
}}
 
}}
{{#if:{{{Genre|}}} |
+
{{#if:{{{Performed|}}}|
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Genre
+
  <tr>
{{!}} colspan="2" style="width: 14em;" {{!}} {{{Genre}}}
+
    <th scope="row" style="width: 5.2em; text-align: left;">Performed</th>
{{!-}}
+
    <td colspan="2" style="width: 14em;">{{{Performed}}}</td>
 +
  </tr>
 
}}
 
}}
{{#if:{{{Length|}}} |
+
{{#if:{{{Genre|}}}|
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Length
+
  <tr>
{{!}} colspan="2" style="width: 14em;" {{!}} {{{Length}}}
+
    <th scope="row" style="width: 5.2em; text-align: left;">Genre</th>
{{!-}}
+
    <td colspan="2" style="width: 14em;">{{{Genre}}}</td>
 +
  </tr>
 
}}
 
}}
{{#if:{{{Label|}}} |
+
{{#if:{{{Length|}}}|
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Label
+
  <tr>
{{!}} colspan="2" style="width: 14em;" {{!}} {{{Label}}}
+
    <th scope="row" style="width: 5.2em; text-align: left;">Length</th>
{{!-}}
+
    <td colspan="2" style="width: 14em;">{{{Length}}}</td>
 +
  </tr>
 
}}
 
}}
{{#if:{{{Writer|}}} |
+
{{#if:{{{Label|}}}|
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Writer
+
  <tr>
{{!}} colspan="2" style="width: 14em;" {{!}} {{{Writer}}}
+
    <th scope="row" style="width: 5.2em; text-align: left;">Label</th>
{{!-}}
+
    <td colspan="2" style="width: 14em;">{{{Label}}}</td>
 +
  </tr>
 
}}
 
}}
{{#if:{{{Composer|}}} |
+
{{#if:{{{Writer|}}}|
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Composer
+
  <tr>
{{!}} colspan="2" style="width: 14em;" {{!}} {{{Composer}}}
+
    <th scope="row" style="width: 5.2em; text-align: left;">Writer</th>
{{!-}}
+
    <td colspan="2" style="width: 14em;">{{{Writer}}}</td>
 +
  </tr>
 
}}
 
}}
{{#if:{{{Producer|}}} |
+
{{#if:{{{Composer|}}}|
! scope="row" style="width: 5.2em; text-align: left;" {{!}} Producer
+
  <tr>
{{!}} colspan="2" style="width: 14em;" {{!}} {{{Producer}}}
+
    <th scope="row" style="width: 5.2em; text-align: left;">Composer</th>
{{!-}}
+
    <td colspan="2" style="width: 14em;">{{{Composer}}}</td>
 +
  </tr>
 
}}
 
}}
|-
+
{{#if:{{{Producer|}}}|
! colspan="3" scope="col" style="background: DCDCDC;" | {{#if: {{SongPreview|{{{Name}}}}} | Preview}}
+
  <tr>
|-
+
    <th scope="row" style="width: 5.2em; text-align: left;">Producer</th>
{{#if:{{Preview|{{{Name}}}|song}} |
+
    <td colspan="2" style="width: 14em;">{{{Producer}}}</td>
! scope="row" style="width: 5.2em; text-align: left;" {{!}}
+
  </tr>
{{!}} colspan="3" style="width: 14em;" {{!}} {{Preview|{{{Name}}}|song}}
+
{{!-}}
+
 
}}
 
}}
|}
+
{{{Misc|}}}
 +
</table>
 +
<noinclude></noinclude>

Latest revision as of 07:40, 6 March 2023