Template:LilyPond source

From Wikisource
Jump to: navigation, search

Note: The full template is only visible on transclusion and hidden from view on this page.

[edit] [purge] Documentation icon Template documentation

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.

[edit] Examples

Template call Result
{{LilyPond source}} ==LilyPond source==
{{LilyPond source|midi=1}} ==LilyPond source==
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox