Template:Meter: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>'''Meter:''' {{cat|{{{1}}}}}{{#if:{{{2|}}}|&nbsp;or {{cat|{{{2}}} }} }}</includeonly><noinclude>
<includeonly>'''Meter:''' {{cat|{{{1}}}}}{{#if:{{{2|}}}|&nbsp;'''or''' {{cat|{{{2}}} }} }}</includeonly><noinclude>
'''Usage:'''
'''Usage with one parameter (required):'''
<pre>{{Meter|76. 76}}</pre>
<pre>{{Meter|76. 76}}</pre>
produces:
produces:
Line 7: Line 7:


and categorizes the page it's on in the category {{CiteCat|76. 76}}.
and categorizes the page it's on in the category {{CiteCat|76. 76}}.
'''Usage with two parameters (second parameter is optional):'''
<pre>{{Meter|88. 88 (L.M.) with refrain|88. 88. 88}}</pre>
produces:
'''Meter:''' {{CiteCat|88. 88 (L.M.)}} '''or''' {{CiteCat|88. 88. 88}}
and categorizes the page it's on in both of the categories {{CiteCat|88. 88 (L.M.)}} and {{CiteCat|88. 88. 88}}.


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

Revision as of 21:07, 7 February 2014

Usage with one parameter (required):

{{Meter|76. 76}}

produces:

Meter: 76. 76

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

Usage with two parameters (second parameter is optional):

{{Meter|88. 88 (L.M.) with refrain|88. 88. 88}}

produces:

Meter: 88. 88 (L.M.) or 88. 88. 88

and categorizes the page it's on in both of the categories 88. 88 (L.M.) and 88. 88. 88.

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.