Template:LilyPond source

From Wikimedia Commons, the free media repository
Jump to: navigation, search

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

Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:LilyPond source/doc.

This template is used to display the LilyPond source of images or Midi files in a semi-standardized way. To call it:

{{LilyPond source}}
<source lang="latex">
source code

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.


Template call Result
{{LilyPond source}} ==LilyPond source==
{{LilyPond source|midi=1}} ==LilyPond source==