Template:ED intro: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
m Space out to make markup easier to read
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:ED_intro|ed_intro
<includeonly>{{#invoke: ED_intro | ed_intro
|ED={{{1|{{PAGENAME}}}}}
| ED = {{{1|{{ED title}}}}}
| debug = {{lc: {{{debug|}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
This template creates an introduction for an ED page, namely:
{{documentation}}
* Equal divisions of the octave or second harmonic (edo).
* Equal divisions of the tritave, perfect 12th, or third harmonic (edt).
* Equal divisions of the fifth (edf).
* Equal divisions of an arbitrary harmonic.
* Equal divisions of an arbitrary ratio.
* Equal divisions of an arbitrary cent value.
 
== Usage ==
Supported formats are as shown:
* ''k''edo - equal divisions of the octave, sometimes denoted as ''k''ed2
* ''k''edt - equal divisions of the tritave/twelfth, sometimes denoted as ''k''ed3
* ''k''edf - equal divisions of the fifth, sometimes denoted as ''k''ed3/2
* ''k''ed''p''/''q'' - equal divisions of an arbitrary ratio ''p''/''q'', or if written as ''k''ed''p'', equal divisions of a harmonic
* ''k''ed''c''c - equal divisions of an arbitrary cent value ''c''
* ''k'' - if no suffix is included, then it will be treated as an edo.
 
For ED pages whose page title follows the above formats, add the following line without any parameters.
 
<pre>{{ED intro}}</pre>
 
For ED pages whose page title does not follow the aforementioned formats, include the intended ED as an unnamed parameter.
<pre>{{ED intro|6ed600c}}</pre>
 
== Examples ==
<pre>{{ED intro|12}}</pre>
<pre>{{ED intro|12edo}}</pre>
{{ED intro|12edo}}
 
<pre>{{ED intro|13edt}}</pre>
{{ED intro|13edt}}
 
<pre>{{ED intro|7edf}}</pre>
{{ED intro|7edf}}
 
<pre>{{ED intro|12ed5}}</pre>
{{ED intro|12ed5}}
 
<pre>{{ED intro|12ed5/2}}</pre>
{{ED intro|12ed5/2}}
 
<pre>{{ED intro|12ed600c}}</pre>
{{ED intro|12ed600c}}
 
<pre>{{ED intro|12ed600.1c}}</pre>
{{ED intro|12ed600.1c}}
 
== Equal-step tunings (1 equal division) ==
<pre>{{ED intro|1edo}}</pre>
{{ED intro|1edo}}
 
<pre>{{ED intro|1edt}}</pre>
{{ED intro|1edt}}
 
<pre>{{ED intro|1edf}}</pre>
{{ED intro|1edf}}
 
<pre>{{ED intro|1ed5}}</pre>
{{ED intro|1ed5}}
 
<pre>{{ED intro|1ed5/2}}</pre>
{{ED intro|1ed5/2}}
 
<pre>{{ED intro|1ed600c}}</pre>
{{ED intro|1ed600c}}
 
<pre>{{ED intro|1ed600.1c}}</pre>
{{ED intro|1ed600.1c}}
== See also ==
* [[Module:ED intro]] – the module that actually implements the functionality.
* [[Template:EDO intro]] – a similar template for edos.


[[Category:Intro templates]]
[[Category:Intro templates]]
</noinclude>
</noinclude>