Template:Infobox interval: Difference between revisions
... 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> |