Jump to content

Template:Infobox album: Difference between revisions

From WikipediNyah
No edit summary
No edit summary
Line 6: Line 6:


| aboveclass  = summary album
| aboveclass  = summary album
| abovestyle  = {{#ifeq:{{{italic_title|yes}}}|yes|font-style: italic;}} background-color: {{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki|{{Infobox album/color}}|{{Infobox album/color|{{{type|}}} }} }}; font-size: 125%;
| abovestyle  = {{#ifeq:{{{italic_title|yes}}}|yes|font-style: italic;}} color: inherit; background-color: {{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki|{{Infobox album/color}}|{{Infobox album/color|{{{type|}}} }} }}; font-size: 125%;
| above      = {{#if:{{{name|}}}|{{{name}}}|<includeonly><span style="font-style: normal">Untitled</span></includeonly>}}
| above      = {{#if:{{{name|}}}|{{{name}}}|<includeonly><span style="font-style: normal">Untitled</span></includeonly>}}


Line 12: Line 12:
| caption    = {{{caption|}}}
| caption    = {{{caption|}}}


| headerstyle = background-color: {{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki|{{Infobox album/color}}|{{Infobox album/color|{{{type|}}}}}}}
| headerstyle = color: #202122;background-color: {{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki|{{Infobox album/color}}|{{Infobox album/color|{{{type|}}}}}}}
| headerclass = description
| headerclass = description


Line 27: Line 27:
| data5      = {{{studio|}}}
| data5      = {{{studio|}}}
| class5      = plainlist
| class5      = plainlist
| label6      = Genre
| label6      = [[Music genre|Genre]]
| data6      = {{{genre|}}}
| data6      = {{{genre|}}}
| class6      = category hlist
| class6      = category hlist
Line 35: Line 35:
| data8      = {{{language|}}}
| data8      = {{{language|}}}
| class8      = category
| class8      = category
| label9      = Label
| label9      = [[Record label|Label]]
| data9      = {{{label|}}}
| data9      = {{{label|}}}
| class9      = hlist
| class9      = hlist
| label10    = Director
| label10    = [[Film director|Director]]
| data10      = {{{director|}}}
| data10      = {{{director|}}}
| class10    = hlist
| class10    = hlist
| label11    = Producer
| label11    = [[Record producer|Producer]]
| data11      = {{{producer|}}}
| data11      = {{{producer|}}}
| class11    = hlist
| class11    = hlist
Line 50: Line 50:
| header13    = {{#if:{{{prev_title|}}}{{{next_title|}}}|{{#if:{{{chronology|}}}|{{{chronology|}}}|{{#ifeq: {{str letter|{{delink| {{{artist|}}} }}}}|0|{{{artist|}}}|{{#invoke:String2 | ucfirst |{{{artist|}}}}}}}}} chronology }}
| header13    = {{#if:{{{prev_title|}}}{{{next_title|}}}|{{#if:{{{chronology|}}}|{{{chronology|}}}|{{#ifeq: {{str letter|{{delink| {{{artist|}}} }}}}|0|{{{artist|}}}|{{#invoke:String2 | ucfirst |{{{artist|}}}}}}}}} chronology }}
| data14      = {{#if:{{{prev_title|}}}{{{next_title|}}}|
| data14      = {{#if:{{{prev_title|}}}{{{next_title|}}}|
{{(!}} style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse; display: inline-table;"
{{(!}} style="color:inherit; background: transparent; width: 100%; min-width: 100%; border-collapse: collapse; display: inline-table;"
{{!}}- style="line-height: 1.4em;"
{{!}}- style="line-height: 1.4em;"
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{prev_title|}}}|''{{{prev_title}}}''{{#if:{{{prev_year|}}}|<br />({{{prev_year}}})}}|}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{prev_title|}}}|''{{{prev_title}}}''{{#if:{{{prev_year|}}}|<br />({{{prev_year}}})}}|}}
Line 66: Line 66:
   |
   |
   |???
   |???
   |nocover.png = [[Category:Album infoboxes lacking a cover]]
   |nocover.png = {{#ifeq:{{#invoke:Is infobox in lead|main|[Ii]nfobox [Aa]lbum}}|true|[[Category:Album infoboxes lacking a cover]]}}
  }}{{#switch:{{lc:{{{image|{{{alt|}}}}}}}}
  }}{{#switch:{{lc:{{{image|{{{alt|}}}}}}}}
   |
   |

Revision as of 18:18, 3 July 2025