Template:Mode

This template is the analogue of the {{Key}} template for works which are in one of the mediæval modes or their modern theoretical equivalents. The church modes should be classified by the traditional numbers 1–8. The modern theoretical modes should be distinguished by the keynote and the number of sharps or flats in the implied key signature; for example, the Phrygian mode on E does not require any sharps or flats in the key signature, and may be referred to as {{Mode|E0}}.

The template displays the type of mode, and also adds the page on which it is used to the Category corresponding to the key; e.g. {{Mode|D0}} adds the page to the Dorian mode category.

An invalidly entered mode will display an error message linking to this page.

Church (or Gregorian) modes

1 {{Mode|1}} Mode I Dorian
2 {{Mode|2}} Mode II Hypodorian
3 {{Mode|3}} Mode III Phrygian
4 {{Mode|4}} Mode IV Hypophrygian
5 {{Mode|5}} Mode V Lydian
6 {{Mode|6}} Mode VI Hypolydian
7 {{Mode|7}} Mode VII Mixolydian
8 {{Mode|8}} Mode VIII Hypomixolydian

Modern theoretical modes

In modern times, with the development of the key signature system, it is possible for any of the seven theoretical modes to start on any possible note pitch; however, strict modal use is sufficiently rare that most theoretical possibilities are not represented on IMSLP, and for simplicity, the more obscure possibilities should only be added to the template when a representative example does exist – as is the case for two examples in the Dorian and Phrygian modes. The defaults are given below:

C Ionian {{Mode|C0}}
D Dorian {{Mode|D0}}
E Phrygian {{Mode|E0}}
F Lydian {{Mode|F0}}
G Mixolydian {{Mode|G0}}
A Aeolian {{Mode|A0}}
B Locrian {{Mode|B0}}

The pieces composed in the Dorian mode starting on G, rather than on the usual D, should indicated by {{Mode|G-1}}, representing the starting note (G) and the number of flats in the resulting key signature (–1). There are also pieces in the Phrygian mode on A, which likewise would be indicated by {{Mode|A-1}}.

Considering modes that would have sharp key signatures: the equivalent of the Dorian mode on E would imply a key signature of two sharps, which would be indicated by {{Mode|E+2}}.