Template:ScoreInfo: Difference between revisions
Jump to navigation
Jump to search
Documentation
m (Text replace - "{{PAGENAME}}" to "Category:Templates") |
No edit summary |
||
Line 12: | Line 12: | ||
inserts | inserts | ||
: <tt><nowiki>'''Score information:''' A4, 2 pages, 20 kbytes</nowiki></tt> | : <tt><nowiki>'''Score information:''' A4, 2 pages, 20 kbytes</nowiki></tt> | ||
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 ("{{etc|nbsp;}}{{etc|nbsp;}}{{etc|nbsp;}}") are added after "kbytes" so there is no need to add anything between this template and <tt>{{[[Template:Copy|Copy]]}}</tt>. | The template is clever enough to only pluralise "page" when there is more than one page in the edition. Also, 3 forced spaces ("{{etc|nbsp;}}{{etc|nbsp;}}{{etc|nbsp;}}") are added after "kbytes" so there is no need to add anything between this template and <tt>{{[[Template:Copy|Copy]]}}</tt>. | ||
</div> | </div> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 16:27, 11 December 2021
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
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
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 (" ") are added after "kbytes" so there is no need to add anything between this template and {{Copy}}.