Difference between revisions of "Template:Infobox Album"

From ZineWiki
Jump to navigationJump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="width: 23em; font-size: 90%;"
+
<includeonly>{| class="infobox" style="width: 20em;"
|+ style="font-size: larger;" | '''{{{name}}}'''
 
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">[[Image:{{{image}}}|{{{imagesize|200px}}}| ]]<br />{{{caption|}}}</td></tr>}}<!--
 
-->{{#if:{{{pseudonym|}}}|<tr><th style="text-align: right;">[[Pseudonym|Pseudonym(s)]]:</th><td>{{{pseudonym|}}}</td></tr>}}
 
 
|-
 
|-
! style="text-align: right;" | Born:
+
| style="background: {{Template:Infobox Album/color|{{{Type|}}}}}; text-align: center;" colspan="3" | '''''{{{Name}}}'''''
| {{{birth_date}}}<br />{{{birth_place|}}}
 
{{#if:{{{age|}}}|<tr><th style="text-align: right;">'''Age''':</th><td>{{{age|}}}</td></tr>}}{{#if:{{{death_date|}}}|<tr><th style="text-align: right;">Died:</th><td>{{{death_date|}}}<br />{{{death_place|}}}</td></tr>}}
 
 
|-
 
|-
! style="text-align: right;" | [[Employment|Occupation(s)]]:
+
| colspan="3" style="text-align: center;" | {{#if: {{{Cover|}}}
| {{{occupation}}}
+
<!-- -->| [[Image:{{{Cover}}}|{{min|200|{{{Cover size|}}}}}px|{{{Name}}} cover]] {{#ifeq: {{ucfirst:{{{Cover|}}}}} | Nocover.png | [[Category:Albums without cover art|{{PAGENAME}}]]}}
{{#if:{{{nationality|}}}|<tr><th style="text-align: right;">[[Nationality]]:</th><td>{{{nationality|}}}</td></tr>}}<!--
+
<!-- -->| [[Image:Nocover.png|200px|No cover available]][[Category:Albums without cover art|{{PAGENAME}}]]
-->{{#if:{{{period|}}}|<tr><th style="text-align: right;">Writing period:</th><td>{{{period|}}}</td></tr>}}<!--
 
-->{{#if:{{{genre|}}}|<tr><th style="text-align: right;">[[Literary genre|Genre(s)]]:</th><td>{{{genre|}}}</td></tr>}}<!--
 
-->{{#if:{{{subject|}}}|<tr><th style="text-align: right;">Subject(s):</th><td>{{{subject|}}}</td></tr>}}<!--
 
-->{{#if:{{{movement|}}}|<tr><th style="text-align: right;">[[Literary movement]]:</th><td>{{{movement|}}}</td></tr>}}<!--
 
-->{{#if:{{{magnum_opus|}}}|<tr><th style="text-align: right;">[[Magnum opus]]:</th><td>{{{magnum_opus|}}}</td></tr>}}<!--
 
-->{{#if:{{{influences|}}}|<tr><th style="text-align: right;">Influences:</th><td>{{{influences|}}}</td></tr>}}<!--
 
-->{{#if:{{{influenced|}}}|<tr><th style="text-align: right;">Influenced:</th><td>{{{influenced|}}}</td></tr>}}<!--
 
-->{{#if:{{{website|}}}|<tr><th style="text-align: right;">Website:</th><td>{{{website|}}}</td></tr>}}<!--
 
-->{{#if:{{{footnotes|}}}|<tr><td colspan="2" style="font-size: smaller; font-style: italic; border-top: 1px solid;">{{{footnotes|}}}</td></tr>}}
 
|}<noinclude>
 
This is an infobox template for use with articles about writers/authors.
 
 
 
Note: * denotes required fields.
 
<pre>
 
{{Infobox Writer
 
| name        = (writer's name)*
 
| image      = (picture)
 
| imagesize  = (width of the picture. if not specified, the default is 200px)
 
| caption    = (caption for picture)
 
| pseudonym  = (any aliases or pen names)
 
| birth_date  = (date of birth)*
 
| birth_place = (place of birth)
 
| age        = (current age)
 
| death_date  = (date of death)
 
| death_place = (place of death)
 
| occupation  = (type of writer: novelist, short story writer, journalist, etc)*
 
| nationality = (country of origin)
 
| period      = (time of first publication to last publication)
 
| genre      = (any and all genres written in; fiction writers only)
 
| subject    = (any subjects written about; non-fiction writers only)
 
| movement    = (literary movement associated with or involving the writer)
 
| magnum_opus = ([[magnum opus]], or most famous work)
 
| influences  = (other writers who influenced his/her work)
 
| influenced  = (other writers who were influenced by his/her work)
 
| website    = (official website)
 
| footnotes  = (misc info)
 
 
}}
 
}}
</pre>
+
{{#if: {{{Caption|}}} |
[[Category:people infobox templates|Writer]]
+
<!-- -->{{!-}}
[[Category:publishing infobox templates|Writer]]
+
<!-- -->{{!}} colspan="3" style="text-align: center; font-size: smaller;" {{!}} {{{Caption}}}
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
</noinclude>
 
 
 
 
 
 
 
 
 
 
 
{{Infobox Album
 
| Name        =  
 
| Type        =
 
| Artist      =
 
| Cover      =
 
| Released    =
 
| Recorded    =
 
| Genre      =
 
| Length      =
 
| Label      =
 
| Producer    =
 
| Reviews    =
 
| Last album  =
 
| This album  =
 
| Next album  =  
 
 
}}
 
}}
 +
|-
 +
| style="background: {{Template:Infobox Album/color|{{{Type|}}}}}; text-align: center;" colspan="3" | '''{{Template:Infobox Album/link|{{{Type}}}}} {{#if:{{{Longtype|}}}| {{{Longtype}}}}} {{#if:{{{Artist|}}}|by {{{Artist}}}}}'''
 +
|-
 +
{{#if: {{{Released|}}} |
 +
<!-- -->{{!}} '''Released'''
 +
<!-- -->{{!}} colspan="2" {{!}} {{{Released}}}
 +
<!-- -->{{!-}}
 +
}}
 +
{{#if: {{{Recorded|}}} |
 +
<!-- -->{{!}} '''Recorded'''
 +
<!-- -->{{!}} colspan="2" {{!}} {{{Recorded}}}
 +
<!-- -->{{!-}}
 +
}}
 +
{{#if: {{{Genre|}}} |
 +
<!-- -->{{!}} '''[[Music genre|Genre]]'''
 +
<!-- -->{{!}} colspan="2" {{!}} {{{Genre}}}
 +
<!-- -->{{!-}}
 +
}}
 +
{{#if: {{{Length|}}} |
 +
<!-- -->{{!}} '''Length'''
 +
<!-- -->{{!}} colspan="2" {{!}} {{{Length}}}
 +
<!-- -->{{!-}}
 +
}}
 +
{{#if: {{{Language|}}} |
 +
<!-- -->{{!}} '''Language(s)'''
 +
<!-- -->{{!}} colspan="2" {{!}} {{{Language}}}
 +
<!-- -->{{!-}}
 +
}}
 +
{{#if: {{{Label|}}} |
 +
<!-- -->{{!}} style="padding-right: 1em;" {{!}} '''[[Record label|Label]]'''
 +
<!-- -->{{!}} colspan="2" {{!}} {{{Label}}}
 +
<!-- -->{{!-}}
 +
}}
 +
{{#if: {{{Producer|}}} |
 +
<!-- -->{{!}} '''[[Record producer|Producer(s)]]'''
 +
<!-- -->{{!}} colspan="2" {{!}} {{{Producer}}}
 +
<!-- -->{{!-}}
 +
}}
 +
{{#if: {{{Compiled by|}}} |
 +
<!-- -->{{!}} '''Compiled&nbsp;by'''
 +
<!-- -->{{!}} colspan="2" {{!}} {{{Compiled by}}}
 +
<!-- -->{{!-}}
 +
}}
 +
{{#if: {{{Reviews|}}} |
 +
<!-- -->! style="background: {{Template:Infobox Album/color|{{{Type|}}}}};" colspan="3" {{!}} Professional reviews
 +
<!-- -->{{!-}}
 +
<!-- -->{{!}} colspan="3" {{!}}
 +
<!-- -->{{{Reviews}}}
 +
<!-- -->{{!-}}
 +
}}
 +
{{#if: {{{Last album|}}}{{{Next album|}}} |
 +
<!-- -->! style="background: {{Template:Infobox Album/color|{{{Type|}}}}};" colspan="3" {{!}} {{#if:{{{Chronology|}}} | {{{Chronology}}} | {{{Artist}}}}}&#32;chronology
 +
<!-- -->{{!-}} style="text-align: center; font-size: 0.8em;"
 +
<!-- -->{{!}}style="width: 33%;" valign="top"{{!}}{{{Last album|}}}
 +
<!-- -->{{!}}style="width: 33%;" valign="middle"{{!}}{{{This album|}}}
 +
<!-- -->{{!}}style="width: 33%;" valign="top"{{!}}{{{Next album|}}}
 +
}}
 +
{{#if:{{{extra cover1|}}}|
 +
<!-- -->{{!-}}
 +
<!-- -->! style="background: {{Template:Infobox Album/color|{{{Type|}}}}};" colspan="3" {{!}} {{{extra cover1 upper|Alternate Cover}}}
 +
<!-- -->{{!-}}
 +
<!-- -->{{!}} colspan="3" style="text-align: center;" {{!}} [[Image:{{{extra cover1}}}|200px|{{{extra cover1 lower|{{{extra cover1 upper|Alternate Cover}}}}}}]]
 +
<!-- -->{{#if:{{{extra cover1 lower|}}}|
 +
<!--  -->{{!-}} style="text-align: center; font-size: smaller;"
 +
<!--  -->{{!}} colspan="3" style="text-align: center;" {{!}} {{{extra cover1 lower}}}
 +
<!-- -->}}
 +
}}<!-- End extra cover1-->
 +
{{#if:{{{extra cover2|}}}|
 +
<!-- -->{{#if:{{{extra cover2 upper|}}}|
 +
<!--  -->{{!-}}
 +
<!--  -->! style="background: {{Template:Infobox Album/color|{{{Type|}}}}};" colspan="3" {{!}} {{{extra cover2 upper}}}
 +
<!-- -->}}
 +
<!-- -->{{!-}}
 +
<!-- -->{{!}} colspan="3" style="text-align: center;" {{!}} [[Image:{{{extra cover2}}}|200px|{{{extra cover2 lower|{{{extra cover2 upper|Alternate Cover}}}}}}]]
 +
<!-- -->{{#if:{{{extra cover2 lower|}}}|
 +
<!--  -->{{!-}} style="text-align: center; font-size: smaller;"
 +
<!--  -->{{!}} colspan="3" style="text-align: center;" {{!}} {{{extra cover2 lower}}}
 +
<!-- -->}}
 +
}}<!-- End extra cover2-->
 +
{{{Misc|}}}
 +
|}{{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}|Test}}|Test|[[Category:Non-standard album infoboxes]]}}</includeonly><noinclude>
  
 
[[Category:Infoboxes|Album]]
 
[[Category:Infoboxes|Album]]

Latest revision as of 22:46, 16 February 2007