Difference between revisions of "Template:Music Albums"

From A3! Wiki
(remove extra space)
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><h3>{{{albumname|}}}</h3>
{{#cargo_store: _table=Albums |title={{{albumname}}} | release={{{releasedate}}} | tracklist = {{{tracklist}}} | cdjapan = {{{cdurl}}} | itunes = {{{digitalurl}}} }}
+
<div style="float:right;margin:0.5em">[[File:{{{cover|}}}|350px|{{{albumname|}}}]]</div>
 
 
==={{{albumname}}}===
 
[[File:{{{cover}}}|350px|right|{{{albumname}}}]]
 
 
'''Release Date:''' {{Release Date|date={{{releasedate}}}}}<br>
 
'''Release Date:''' {{Release Date|date={{{releasedate}}}}}<br>
 
'''Description:''' {{{albumdesc}}}<br>
 
'''Description:''' {{{albumdesc}}}<br>
'''Tracklist:'''
+
'''Tracklist:'''<ol>{{{tracklist}}}</ol>
{{#cargo_query:
+
'''Purchase:'''<ul>{{#if: {{{cdurl|}}} | <li>[{{{cdurl|}}} {{{cdvendor|}}}] (Physical CD)</li> | }}
tables=Albums
+
{{#if: {{{digitalurl|}}} | <li>[{{{digitalurl}}} {{{digitalvendor}}}] (Digital Release)</li> | }}</ul>{{clear}}</includeonly>
|fields=tracklist
 
|where=Albums.title = {{{albumname}}}
 
|format=ol
 
}}
 
'''Purchase:'''
 
<ul>
 
{{#if: {{{cdurl|}}} | <li>[{{{cdurl}}} {{{cdvendor}}}] (Physical CD)</li> | }}
 
{{#if: {{{digitalurl|}}} | <li>[{{{digitalurl}}} {{{digitalvendor}}}] (Digital Release)</li>}}
 
</ul>
 
{{clear}}
 
</includeonly>
 
 
 
<noinclude>
 
{{#cargo_declare: _table=Albums |title=String |release=Date |tracklist=List (,) of Wikitext |itunes=URL |cdjapan=URL}}
 
  
<pre>{{Music Albums
+
<noinclude><pre>{{Music Albums
 
|albumname=
 
|albumname=
 
|cover=
 
|cover=
Line 34: Line 17:
 
|digitalurl=
 
|digitalurl=
 
|digitalvendor=
 
|digitalvendor=
}}</pre>
+
}}</pre></noinclude>
</noinclude>
 

Latest revision as of 10:55, 20 June 2020


{{Music Albums
|albumname=
|cover=
|releasedate=
|albumdesc=
|tracklist=
|cdurl=
|cdvendor=
|digitalurl=
|digitalvendor=
}}