Template:ScoreInfo

From ChoralWiki
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>}}

Parameters

  1. Page size. See table below, or enter another size.
  2. Number of pages, a positive integer.
  3. Size of PDF, a positive integer. Do not use thousand separator marks, e.g., "1357" not "1,357".

Example:

{{ScoreInfo|A4|2|20}}

inserts

'''Score information:''' A4, 2 pages, 20 kbytes

Parameters are automatically added by the AddWork form; the form reads header information for the PDF file you imported, and automatically adds number of pages and size of PDF file; page size is automatically added if it is one of the standard sizes. If the third parameter (size of file) is greater than 1024 (1 MB) then the number given will be converted to megabytes.

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}}.

Page sizes

Size code Millimeters Inches Comment
A0 841 × 1189 33.11 × 46.81 ISO standard
A1 594 × 841 23.39 × 33.11 ISO standard
A2 420 × 594 16.54 × 23.39 ISO standard
A3 297 × 420 11.69 × 16.54 ISO standard
Tabloid 279 × 432 11 × 17 American standard
Ledger 432 × 279 17 × 11 Landscape orientation of "Tabloid"; American standard
Legal 216 × 356 8.5 × 14 American standard
Letter 216 × 279 8.5 × 11 American standard
A4 210 × 297 8.27 × 11.69 ISO standard
A5 148 × 210 5.83 × 8.27 ISO standard
A6 105 × 148 4.13 × 5.83 ISO standard
A7 74 × 105 2.91 × 4.13 ISO standard
A8 52 × 74 2.05 × 2.91 ISO standard