Template:Infobox album: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(Documentation + category)
(style cleanup)
Line 1: Line 1:
<includeonly><table class="infobox" style="width:22em;text-align:left;margin:0.5em 0 0.5em 1em; padding: 0.2em; border:solid #aaa 1px;float:right;clear:right;">
<includeonly><table class="infobox" style="width:180px;text-align:left;margin:0.5em 0 0.5em 1em; padding: 0.2em; border:solid #aaa 1px;float:right;clear:right;">
<th colspan="2" style="text-align:center;background-color:#CCF;font-size: 120%;font-weight:bold;">
<th colspan="2" style="text-align:center;background-color:#CCF;font-size: 120%;font-weight:bold;">
{{{title|}}}
{{{title|}}}
</th>
</th>
<tr><td colspan="2">{{{cover|}}}</td></tr>
<tr><td colspan="2">[[File:{{{cover|}}}|180px]]</td></tr>
{{Infobox/row
{{Infobox/row
|label=Artist
|label=Artist
Line 19: Line 19:
|data={{{tracklist|}}}
|data={{{tracklist|}}}
}}
}}
</table></includeonly>
</table></includeonly><noinclude>{{Infobox_album
<noinclude>
{{Infobox_album
|title=FOR MY QUEEN
|title=FOR MY QUEEN
|artist=ANTHONY
|artist=ANTHONY
|cover=[[File:Album_test.jpg|300px]]
|cover=File:Album_test.jpg
|date=2012.1.05
|date=2012.1.05
|tracklist=  
|tracklist=  
Line 31: Line 29:
*FOR MY QUEEN
*FOR MY QUEEN
}}
}}
 
Example use:
Example use :
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Infobox_album
{{Infobox_album
Line 45: Line 42:
}}
}}
</pre>
</pre>
{|class="wikitable" style="width: 100%; clear: right;
{|class="wikitable" style="width: 100%; clear: right;
|-
|-

Revision as of 08:18, 26 January 2011

| style="text-align: left; background-color:#EEF; font-weight:bold;" |Artist | style="text-align: left; {{{datastyle}}}" |ANTHONY |- | style="text-align: left; background-color:#EEF; font-weight:bold;" |Release date | style="text-align: left; {{{datastyle}}}" |2012.1.05 |- | style="text-align: left; background-color:#EEF; font-weight:bold;" |Tracks | style="text-align: left; {{{datastyle}}}" |*THIS ROSE

  • THIS ROSE
  • FOR MY QUEEN

|-

FOR MY QUEEN

File:File:Album test.jpg

Example use:

{{Infobox_album
|title=FOR MY QUEEN
|artist=ANTHONY
|cover=[[File:Album_test.jpg|300px]]
|date=2012.1.05
|tracklist= 
*THIS ROSE
*THIS ROSE
*FOR MY QUEEN
}}
Parameter Explanation
title Title of the CD
cover link to the CD cover's image (e.g. [[File:Album_test.jpg|300px]])
artist
date Release date
tracklist Track listing, in list form (e.g. *track1 *track2 *track3)