Template:Sales/Row: Difference between revisions
Jump to navigation
Jump to search
Homerun-chan (talk | contribs) mNo edit summary |
Homerun-chan (talk | contribs) mNo edit summary |
||
Line 17: | Line 17: | ||
<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> | ||
</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.