Template:Infobox interval: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
... still under construction ...
 
Xenwolf (talk | contribs)
First version. Import from de:Vorlage:Infobox Intervall is now complete :)
Line 10: Line 10:
">
">
{|
{|
|+ '''Interval Info'''
|+ '''Interval info'''
{{#if: {{{Icon|}}} |
{{#if: {{{Icon|}}} |
   {{!}} colspan="2" style="text-align:center" {{!}} {{{Icon}}}
   {{!}} colspan="2" style="text-align:center" {{!}} {{{Icon}}}
Line 17: Line 17:
| style="text-align:right" | Ratio  || '''{{{Ratio|[[Template:Infobox Interval|Ratio?]]}}}'''
| style="text-align:right" | Ratio  || '''{{{Ratio|[[Template:Infobox Interval|Ratio?]]}}}'''
|-
|-
| style="text-align:right" | [[Monzo notation]]  || '''{{Monzo|{{{Monzo|[[Template:Infobox Interval|Monzo?]]}}} }}'''
| style="text-align:right" | [[Monzos|Monzo]]  || '''{{Monzo|{{{Monzo|[[Template:Infobox Interval|Monzo?]]}}} }}'''
|-
|-
| style="text-align:right" | Size in [[Cent|Cents (¢)]]  || '''{{{Cents|[[Template:Infobox Interval|Cents?]]}}}'''
| style="text-align:right" | Size in [[Cent|Cents (¢)]]  || '''{{{Cents|[[Template:Infobox Interval|Cents?]]}}}'''
Line 29: Line 29:
</div><noinclude>
</div><noinclude>


The template '''Infobox Interval''' was built to help presenting basic informations about [[Interval]]s in a unified form, to make them obvious by glance. Alaos the formatting of the wiki text is easier to read/change.
The template '''Infobox Interval''' was built to help presenting basic informations about [[Interval]]s in a unified form, to make them obvious by glance. Also the formatting of the wiki text itself is easier to read and improve when it is obviously structured by this template.


The templates supports the following parameters (mandatory parameters in '''bold'''):
The templates supports the following parameters (mandatory parameters in '''bold'''):
Line 39: Line 39:
|-
|-
| Icon
| Icon
| Image or Symbol, if one exists
| Image or symbol, if one exists
| complete with prefix "File:" and brackets
| complete with prefix "File:" and brackets
|-
|-
| '''Ratio'''
| '''Ratio'''
| Verhältnis der beteiligten Schwingungen
| Frequency ratio of the interval
| '''''Solle es alternativ "Schwingungsverhältnis" heißen?'''''
|
|-
|-
| '''Cents'''
| '''Cents'''
| Größenangabe in [[Cent]]
| Size in [[Cent]]
|
|
|-
|-
| '''Monzo'''
| '''Monzo'''
| Parameter der [[Monzo-Schreibweise]]
| Parameters of the [[Monzos|Monzo notation]]
|
|
|-
|-
| '''Namen''' <br/> oder '''Name'''
| '''Names''' <br/> or '''Name'''
| Bezeichnung(en) des Intervalls
| Name(s) od the interval
| '''''Sollte das besser optional sein?'''''
| '''''Maybe better optional?'''''
|-
|-
| Sound
| Sound
| Sounddatei falls vorhanden
| Soundfile is one exists
| Nur Name ohne Präfix "File:" (und ohne eckigen Klammern)
| only name of the file (no prefix "File:" and of course without Brackets)
|}
|}


Hier die Benutzung der Vorlage am Beispiel der Oktave ([[2/1]]).
Usage example for the oktave ([[2/1]]).
  <nowiki>{{Infobox Intervall
  <nowiki>{{Infobox Interval
| Bruch = 2/1
| Ratio = 2/1
| Cents = 1200
| Cents = 1200
| Monzo = 1
| Monzo = 1
| Namen = Oktave
| Name = Octave
}}</nowiki>
}}</nowiki>


[[Kategorie:Vorlagen]]
[[Category:Templates]]


[[de:Vorlage:Infobox Intervall]]
[[de:Vorlage:Infobox Intervall]]
</noinclude>
</noinclude>

Revision as of 13:39, 11 October 2018

Interval info
Ratio  Ratio?
Monzo  [Monzo?
Size in Cents (¢)  Cents?
Name(s)  Names?

The template Infobox Interval was built to help presenting basic informations about Intervals in a unified form, to make them obvious by glance. Also the formatting of the wiki text itself is easier to read and improve when it is obviously structured by this template.

The templates supports the following parameters (mandatory parameters in bold):

Parameter Meaning Usage hints, Remarks
Icon Image or symbol, if one exists complete with prefix "File:" and brackets
Ratio Frequency ratio of the interval
Cents Size in Cent
Monzo Parameters of the Monzo notation
Names
or Name
Name(s) od the interval Maybe better optional?
Sound Soundfile is one exists only name of the file (no prefix "File:" and of course without Brackets)

Usage example for the oktave (2/1).

{{Infobox Interval
| Ratio = 2/1
| Cents = 1200
| Monzo = 1
| Name = Octave
}}