Template:Subgroup note/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}
To get this to work, create a "Notes" section on the desired page and put <code>{{^(}}references&nbsp;group{{=}}"note"&nbsp;/{{)^}}</code> below the header (if this hasn't already been done).
This template is used to indicate what subgroup a particular equal temperament tuning is being treated as.


Enclose this template in a reference tag: e.g. <code>{{^(}}ref&nbsp;group{{=}}"note"{{)^}}{{((}}sg|limit=5-limit{{))}}{{^(}}/ref{{)^}}</code>
To get this to work, create a "Notes" section on the desired page and put <code><<nowiki />references group="note" /></code> below the header (if this hasn't already been done). Enclose the template in a reference tag: e.g. <code><nowiki><ref group="note">{{subgroup note|limit=5-limit}}</ref></nowiki></code> to get it to show up under the Notes section.
 
{{shortcut|sg}}


=== Parameters ===
=== Parameters ===
; <code>{{(((}}1{{)))}}</code>
; <code><nowiki>{{{1}}}</nowiki></code>
: Accepts one unnamed parameter, which indicates the tuning in question.
: Accepts one unnamed parameter, which indicates the tuning in question.


; <code>limit</code>
; <code>limit</code>
: The prime-limit of the tuning indicated (e.g. "5-limit", "7-limit", "2.3.7-subgroup", etc.)
: The prime-limit of the tuning indicated (e.g. "5-limit", "7-limit", "2.3.7-subgroup", etc.)

Latest revision as of 16:08, 31 January 2025

This template is used to indicate what subgroup a particular equal temperament tuning is being treated as.

To get this to work, create a "Notes" section on the desired page and put <references group="note" /> below the header (if this hasn't already been done). Enclose the template in a reference tag: e.g. <ref group="note">{{subgroup note|limit=5-limit}}</ref> to get it to show up under the Notes section.

Note: You can use {{sg}} as a shortcut.

Parameters

{{{1}}}
Accepts one unnamed parameter, which indicates the tuning in question.
limit
The prime-limit of the tuning indicated (e.g. "5-limit", "7-limit", "2.3.7-subgroup", etc.)