Template:Sales/Header: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
<!-- Header: type of data displayed -->
<!-- Header: type of data displayed -->
<tr>
<tr>
<th colspan="2">|<b>
<th colspan="2"><b>{{#switch: {{{type}}}
{{#switch: {{{type}}}
   |general = General overview
   |general = General overview
   |volume = Volume {{{volume}}} (released {{#switch: {{{volume}}}
   |volume = Volume {{{volume}}} (released {{#switch: {{{volume}}}
Line 14: Line 13:
     |6 = September 21, 2011
     |6 = September 21, 2011
   }})
   }})
}}</b>
}}</b><div style="float: right; text-align: right; font-weight: normal;"><small>Last updated on: {{{updated}}}</small></div></th>
<div style="float: right; text-align: right; font-weight: normal;"><small>Last updated on: {{{updated}}}</small></div></th>
</tr>
</tr>
<!-- General statistics -->
<!-- General statistics -->
Line 36: Line 34:
</tr>
</tr>
<tr>
<tr>
<td bgcolor="lightgrey">Running total</td>
<td bgcolor="lightgrey"><b>Running total</b></td>
<td bgcolor="lightgrey" align="right">{{{total}}}</td>
<td bgcolor="lightgrey" align="right"><b>{{{total}}}</b></td>
</tr>
</tr>
}}
}}

Latest revision as of 21:09, 24 July 2011


Starts a sales table. The number, name, and use of arguments change depending on the type of table.

General arguments

All these arguments are mandatory, except the last one

type
May be "general" or "volume" at the moment. "general" is for the general overviews, "volume" is for the detailed chart of a specific volume
updated
Date of last update
image
A graph displaying the data.

"general" charts

Both parameters are mandatory

total
Total amount of volumes sold
average
Average amount of volumes sold

"volume" charts

volume
An integer between 1 and 6
bd_total
Number of BD sold
dvd_total
Number of DVD sold
total
The total amount of copies sold, be it BD or DVD