Template:Infobox interval: Difference between revisions
Jump to navigation
Jump to search
... still under construction ... |
First version. Import from de:Vorlage:Infobox Intervall is now complete :) |
||
Line 10: | Line 10: | ||
"> | "> | ||
{| | {| | ||
|+ '''Interval | |+ '''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 | | 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. | 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 | | Image or symbol, if one exists | ||
| complete with prefix "File:" and brackets | | complete with prefix "File:" and brackets | ||
|- | |- | ||
| '''Ratio''' | | '''Ratio''' | ||
| | | Frequency ratio of the interval | ||
| | | | ||
|- | |- | ||
| '''Cents''' | | '''Cents''' | ||
| | | Size in [[Cent]] | ||
| | | | ||
|- | |- | ||
| '''Monzo''' | | '''Monzo''' | ||
| | | Parameters of the [[Monzos|Monzo notation]] | ||
| | | | ||
|- | |- | ||
| ''' | | '''Names''' <br/> or '''Name''' | ||
| | | Name(s) od the interval | ||
| ''''' | | '''''Maybe better optional?''''' | ||
|- | |- | ||
| Sound | | 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]]). | |||
<nowiki>{{Infobox | <nowiki>{{Infobox Interval | ||
| | | Ratio = 2/1 | ||
| Cents = 1200 | | Cents = 1200 | ||
| Monzo = 1 | | Monzo = 1 | ||
| | | Name = Octave | ||
}}</nowiki> | }}</nowiki> | ||
[[ | [[Category:Templates]] | ||
[[de:Vorlage:Infobox Intervall]] | [[de:Vorlage:Infobox Intervall]] | ||
</noinclude> | </noinclude> |
Revision as of 13:39, 11 October 2018
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 }}