Template:LilyPond source
Jump to navigation
Jump to search
This template is used to display the LilyPond source of images or Midi files in a semi-standardized way. To call it:
- {{LilyPond source}}
- <pre>
- source code
- </pre>
The default behavior is appropriate for LilyPond-generated images. If this template is used for a LilyPond-generated MIDI file, call {{LilyPond source|midi=1}}.
Note that the template generates its own top-level heading; it also places pages in Category:GNU LilyPond images or Category:GNU LilyPond Midi files, as appropriate.
Examples
[edit]Template call | Result |
---|---|
{{LilyPond source}} | ==LilyPond source== |
{{LilyPond source|midi=1}} | ==LilyPond source== |