Template:Infobox Single: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Meg Taylor
(fix)
imported>Caesar Schinas
(Infobox Song is identical except in colour. If there's a good reason for two separate templates feel free to revert... but please explain why on my talk page. :-))
Line 1: Line 1:
{| class="infobox bordered" cellpadding="2" cellspacing="2" style="font-size: 90%; width:240px;; white"
#REDIRECT [[Template:Infobox Song]]
|-
! colspan="2" align="center" style="font-size:125%;text-align:center;width:240px;background-color:#FFA500;"| {{{name}}}
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;padding-bottom:.5em;background:#FFF;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
{{!}}-
}}
{{#if:{{{album<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Appears on'''
{{!}}{{{album}}}
{{!}}-
}}
{{#if:{{{published<includeonly|</includeonly}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Published by'''
{{!}}{{{published}}}
{{!}}-
}}
{{#if:{{{registration<includeonly|</includeonly}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Registration'''
{{!}}{{{registration}}}
{{!}}-
}}
{{#if:{{{released<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Release date'''
{{!}}{{{released}}}
{{!}}-
}}
{{#if:{{{recorded<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Recorded'''
{{!}}{{{recorded}}}
{{!}}-
}}
{{#if:{{{genre<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Genre'''
{{!}}{{{genre}}}
{{!}}-
}}
{{#if:{{{language<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Language'''
{{!}}{{{language}}}
{{!}}-
}}
{{#if:{{{length<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Length'''
{{!}}{{{length}}}
{{!}}-
}}
{{#if:{{{writer<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Writer'''
{{!}}{{{writer}}}
{{!}}-
}}
{{#if:{{{composer<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Composer'''
{{!}}{{{composer}}}
{{!}}-
}}
{{#if:{{{label<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Label'''
{{!}}{{{label}}}
{{!}}-
}}
{{#if:{{{producer<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Producer'''
{{!}}{{{producer}}}
{{!}}-
}}
{{#if:{{{engineer<includeonly|</includeonly}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Engineer'''
{{!}}{{{engineer}}}
{{!}}-
}}
|}<noinclude>
 
<noinclude>
{{newtemplate
|description=Template for single infoboxes
|execution=<pre><nowiki>
{{Infobox Single
|name        =
|image      =
|caption    =
|album      =
|published  =
|registration =
|released    =
|recorded    =
|genre      =
|language    =
|length      =
|writer      =
|composer    =
|label      =
|producer    =
|engineer    =
}}
</nowiki></pre>
|sample= see [[Whole Lotta Love]]
|caveats=All fields othan than "name" are optional
|authors=[[User:Meg Ireland|Meg Ireland]]
}}
</noinclude>

Revision as of 10:12, 3 May 2009