Template:Which volume/doc

This template tells which volume a chapter belongs to.
 * Description

Chapter number
 * Syntax


 * Parameters
 * Chapter number/1= the number of the chapter - free.
 * ch= the chapter number can also be provided with this parameter - optional.
 * style= if set to qref, outputs "Vol. 2" if the volume exists and nothing otherwise. Used in qref.


 * Samples
 * gives:


 * gives:
 * Vol. — Chapter 23


 * gives:
 * Chapter 123


 * gives:
 * Chapter 1234

To update the template change the last part: ( > X)		+ ( > Y)	        + }} Add "Y" to the sum after "X" with the same code, change the value of "Y" with the value of "Z" and then update "Z". So the result will be: ( > X)		+ ( > Y)		+ ( > Z)	        + }} Where 'Z' is the new Z.
 * Updating the template

The template will show as default the latest volume, while for the chapter not yet in volume format the message: "", or nothing if style is set to qref.
 * Note