Template:Album
From /lit/ Wiki
Jump to navigationJump to search
{{#if: | | colspan="2" style="padding:0.5em;" | [[{{{image}}}|250px]] }}
{{#if: | | Released || {{{released}}} }}
{{#if: | | Recorded || {{{recorded}}} }}
{{#if: | | Length || {{{length}}} }}
{{#if: | | Label || {{{label}}} }}
{{#if: | | Produced by || {{{producer}}} }}
Album | |
---|---|
{{{artist}}} |
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- To use this template, enter the following and fill in the appropriate fields. Any field left blank will not show up. Don't forget to include brackets, to make the fields into links.
- Syntax
- Type
{{infobox album{{#ifeq: ...|---|||<...>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}
somewhere, with parameters as shown below. - Sample output
{{infobox album | name = Album name [defaults to pagename] | image = Image:Example.jpg | imagewidth = [defaults to 250] | artist = Artist name | released = Release date | recorded = Date recorded | length = Album length | label = Label | producer = Producer }}
Results in...
{{#if: Image:Example.jpg | | colspan="2" style="padding:0.5em;" | }} {{#if: Release date | | Released || Release date }} {{#if: Date recorded | | Recorded || Date recorded }} {{#if: Album length | | Length || Album length }} {{#if: Label | | Label || Label }} {{#if: Producer | | Produced by || Producer }}Album name | |
---|---|
Artist name |
Visit Template:Album/doc to edit this text! (How does this work?)