Template:Infobox album: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{| class="infobox" style="width: 300px; text-align: left; margin: 0.5em 0 0.5em 1em; padding: 0.2em; border: solid #aaa 1px; float: right; clear: right;"
<table class="infobox" style="width:22em;text-align:left;float:right;margin:1em;border:solid black 1px;">
! colspan="2" style="text-align: center; background-color: #ccf; font-size: 120%; font-weight: bold;" |{{{title|}}}
<th colspan="2" style="text-align:center;background-color:#CCF;font-size: 120%;font-weight:bold;">
|-
{{{title}}}
| colspan="2" |[[{{{cover|}}}|300px]]
</th>
|-
<tr colspan="2">{{{cover}}}</tr>
{{Infobox/row
{{Infobox/row
|label=Artist
|label=Artist
|labelstyle=background-color:#EEF; font-weight:bold;
|labelstyle=background-color:#EEF; font-weight:bold; width: 100px;
|data={{{artist}}}
|data={{{artist|}}}
}}
}}
{{Infobox/row
{{Infobox/row
|label=Release date
|label=Release date
|labelstyle=background-color:#EEF; font-weight:bold;
|labelstyle=background-color:#EEF; font-weight:bold;
|data={{{date}}}
|data={{{date|}}}
}}
{{Infobox/row
|label=Tracks
|labelstyle=background-color:#EEF; font-weight:bold;
|data={{{tracklist|}}}
}}
}}
</table>
|- style="text-align: center; background-color:#EEF; font-weight:bold;"
</includeonly>
| colspan="2" | Tracks
 
|-
<noinclude>
| colspan="2" |
{{Infobox_album
{{{tracklist|}}}
|}</includeonly><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 34: Line 29:
*FOR MY QUEEN
*FOR MY QUEEN
}}
}}
 
Example use:
Example use :
<pre style="width:auto; overflow:auto">
<pre>
{{Infobox_album
{{Infobox_album
|title=ANTHONY
|title=FOR MY QUEEN
|artist=FOR MY QUEEN
|artist=ANTHONY
|cover=[[File:Album_test.jpg|300px]]
|cover=[[File:Album_test.jpg|300px]]
|date=2012.1.05
|date=2012.1.05
Line 48: Line 42:
}}
}}
</pre>
</pre>
{|class="wikitable" style="width: 100%; clear: right;
|-
! Parameter
! Explanation
|-
| title || Title of the CD
|-
| cover || link to the CD cover's image (e.g. <nowiki>[[File:Album_test.jpg|300px]]</nowiki>)
|-
| artist ||
|-
| date || Release date
|-
| tracklist || Track listing, in list form (e.g. <nowiki>*track1 *track2 *track3</nowiki>)
|}
[[Category:Templates]]
</noinclude>

Latest revision as of 09:24, 7 January 2020

FOR MY QUEEN
Album test.jpg
Artist ANTHONY
Release date 2012.1.05
Tracks
  • THIS ROSE
  • THIS ROSE
  • FOR MY QUEEN

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)