Template:Sales/Row: Difference between revisions
Jump to navigation
Jump to search
Homerun-chan (talk | contribs) (Created page with "<includeonly> {{#switch: {{{type}}} |general = <tr> <td>Volume {{{volume}}}</td> <td>{{{bd_total}}}</td> <td>{{{dvd_total|}}}</td> <td>{{{total|}}}</td> </tr> |volume = <tr> <td>...") |
Homerun-chan (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
|general = <tr> | |general = <tr> | ||
<td>Volume {{{volume}}}</td> | <td>Volume {{{volume}}}</td> | ||
<td>{{{bd_total}}}</td> | <td>{{{bd_total|}}}</td> | ||
<td>{{{dvd_total|}}}</td> | <td>{{{dvd_total|}}}</td> | ||
<td>{{{total|}}}</td> | <td>{{{total|}}}</td> | ||
Line 9: | Line 9: | ||
|volume = <tr> | |volume = <tr> | ||
<td>Week {{{week}}}</td> | <td>Week {{{week}}}</td> | ||
<td>{{{bd_total}}}</td> | <td>{{{bd_total|}}}</td> | ||
<td>{{{dvd_total|}}}</td> | <td>{{{dvd_total|}}}</td> | ||
<td>{{{total|}}}</td> | <td>{{{total|}}}</td> | ||
Line 16: | Line 16: | ||
|volume_total = <tr> | |volume_total = <tr> | ||
<td colspan="3" style="text-align: center; font-weight: bold">Total: </td> | <td colspan="3" style="text-align: center; font-weight: bold">Total: </td> | ||
<td style="text-align: center; font-weight: bold">{{{total}}}</td> | <td style="text-align: center; font-weight: bold">{{{total|}}}</td> | ||
<td style="border: 0"></td> | |||
</tr> | </tr> | ||
}} | }} |
Revision as of 21:23, 24 July 2011
Template used to input data into sales charts. The number, type, and value of arguments depend of the type of data.
Note: in this documentation, parameters are considered to be mandatory, unless mentionned otherwise
General arguments
- type
- May be "general", "volume" or "volume_total" for now, more to come.
"general" arguments
- volume
- The volume whose sales are described in this row
- bd_total
- The number of BD sold.
- dvd_total
- The number of DVD sold. Optional, leaves the cell empty if there is no input.
- total
- Both BD and DVD. Optional. Leaves the cell empty if no input.
"volume"-specific arguments
- bd_total
- The number of BD sold.
- dvd_total
- The number of DVD sold. Optional, leaves the cell empty if there is no input.
- total
- Both BD and DVD. Optional. Leaves the cell empty if no input.
- notes
- Optional. Displays a note.
"volume_total" specific arguments
This type of row is used to display a summary row at the end of the table.
- total
- Only argument needed. The total of products sold in the whole table.