Template:Album/doc

From /lit/ Wiki
Revision as of 01:42, 19 May 2010 by imported>Default
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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