Difference between revisions of "Template:Meter"

From ChoralWiki
Jump to navigation Jump to search
(template for categrizing Hymn meters.)
 
(test extension to handle two meters)
Line 1: Line 1:
<includeonly>'''Meter:''' {{cat|{{{1}}}}}</includeonly><noinclude>
+
<includeonly>'''Meter:''' {{cat|{{{1}}}}} {{#if: {{{2|}}}|or {{{2}}}}}</includeonly><noinclude>
 
'''Usage:'''
 
'''Usage:'''
 
<pre>{{Meter|76. 76}}</pre>
 
<pre>{{Meter|76. 76}}</pre>

Revision as of 20:37, 7 February 2014

Usage:

{{Meter|76. 76}}

produces:

Meter: 76. 76

and categorizes the page it's on in the category 76. 76.

Note: Generally this template should be used on the same line as and following the Genre template, whenever the Genre includes Hymns or Hymn Tunes.