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. 6" if the volume exists and nothing otherwise. Used in qref.


 * Samples
 * gives:


 * gives:
 * Vol. — Chapter 6


 * gives:
 * Chapter 11


 * gives:
 * Chapter 16

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


 * See Also
 * Chapters and Volumes.