Difference between revisions of "Template:SongItem"

From Detective Conan Wiki
(Created page with '<includeonly> | style="text-align:center;"|{{{1|}}} || style="text-align:center;"|{{{2|}}} || {{{3|}}} || {{{4|}}} || style="text-align:center;"|{{{5|}}} |-</includeonly><noinclu...')
 
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
| style="text-align:center;"|{{{1|}}} || style="text-align:center;"|{{{2|}}} || {{{3|}}} || {{{4|}}} || style="text-align:center;"|{{{5|}}}
+
| style="text-align:center;"|{{{1|}}} || {{#if:{{{type|}}}|style="padding-right: 5px;"|style="text-align:center; padding: 0.2em 15px;"}}|{{{2|}}} || style="padding-right: 5px;"|{{{3|}}} || style="padding-right: 5px;"|{{{4|}}} || style="text-align:center;"|{{{5|}}} || style="text-align:center;"|{{{6|}}}
 
|-</includeonly><noinclude>
 
|-</includeonly><noinclude>
 
Displays an item of a song list.
 
Displays an item of a song list.
Line 8: Line 8:
 
The following is a list of required or optional parameters for any of the rows:
 
The following is a list of required or optional parameters for any of the rows:
 
<pre>
 
<pre>
{{SongItem|<song number>|<episodes or movie>|<song title>|<artist>|<release date>}}
+
{{SongItem|<song number>|<episodes or movie>|<song title>|<artist>|<release date>|<oricon chart peak>
 +
| type      = (Optional. Defaults to 0. If another value, the <episodes or movie> field will be left align and have normal padding)
 +
}}
 
</pre>
 
</pre>
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 16:21, 18 November 2009

Displays an item of a song list.

Usage

The following is a list of required or optional parameters for any of the rows:

{{SongItem|<song number>|<episodes or movie>|<song title>|<artist>|<release date>|<oricon chart peak>
| type       = (Optional. Defaults to 0. If another value, the <episodes or movie> field will be left align and have normal padding)
}}