Template:LilyPond source/doc
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}}
<syntaxhighlight lang="latex">
- source code
</syntaxhighlight>
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:MIDI files created with GNU LilyPond, as appropriate.
Examples
[edit]Template call | Result |
---|---|
{{LilyPond source}} | ==LilyPond source== |
{{LilyPond source|midi=1}} | ==LilyPond source== |