Template:ScoreInfo: Difference between revisions
Jump to navigation
Jump to search
Documentation
(third time lucky...) |
(Incremented logic complexity to make all three parameters optional.) |
||
Line 1: | Line 1: | ||
'''Score information:''' {{{1}}}, {{{2}}} page{{switch|{{{2}}} | {{switch|{{{1|{{{2|{{{3|void}}}}}}}}} | ||
|case: 1= | |case: void= | ||
|default=s, | |default='''Score information:'''}}{{switch|{{{1|void}}} | ||
}} {{{3}}} | |case: void= | ||
|default= {{{1}}}{{switch|{{{2|{{{3|void}}}}}}|case: void=|default=,}}}}{{switch|{{{2|void}}} | |||
|case: void= | |||
|default= {{{2}}} page{{switch|{{{2}}}|case: 1=|default=s}}{{switch|{{{3|void}}}|case: void=|default=,}}}}{{switch|{{{3|void}}} | |||
|case: void= | |||
|default= {{{3}}} KBytes}} <noinclude> | |||
<br><br> | |||
{{prot-temp}}<br><div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #1188ff; padding: 1em 1em 1em 1em; background-color:#ddffdd"> | |||
<center><big>'''Documentation'''</big></center> | <center><big>'''Documentation'''</big></center> | ||
Revision as of 21:52, 8 October 2008
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