Template:ScoreInfo

From ChoralWiki
Revision as of 21:52, 8 October 2008 by Carlos (talk | contribs) (Incremented logic complexity to make all three parameters optional.)
Jump to navigation Jump to search

   


Documentation

This template is for use to add the page size, number of pages and size of PDF in the edition info on a score/works page. It normally appears after {{Editor}} and before {{Copy}}.

Syntax:

{{ScoreInfo|<page size>|<number of pages>|<size of PDF in kilobytes>}}

Example:

{{ScoreInfo|A4|2|20}}

inserts

'''Score information:''' A4, 2 pages, 20 kbytes
The template is clever enough to only pluralise "page" when there is more than one page in the edition. Also, 3 forced spaces ( &nbsp;&nbsp;&nbsp; ) are added after "kbytes" so there is no need to add anything between this template and {{Copy}}.