User:Xenwolf/Template:Infobox Interval: Difference between revisions
... |
... |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
padding: 0.25em 0.5em; | padding: 0.25em 0.5em; | ||
background-color: # | background-color: #fafafa; | ||
<!-- width: 15em; --> | <!-- width: 15em; --> | ||
float: right; | float: right; | ||
| Line 11: | Line 11: | ||
{| style="border-collapse: collapse;" | {| style="border-collapse: collapse;" | ||
|+ <u>Interval information</u> | |+ <u>Interval information</u> | ||
{{#if: {{{ | {{#if: {{{JI glyph|}}} | | ||
{{!}} | {{!}} style="text-align:right; padding-right: 0.25em; vertical-align: top" {{!}} [[JI glyphs|JI glyph]] | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} {{{JI glyph}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{Ratio|}}} | | {{#if: {{{Ratio|}}} | | ||
{{!}} style="text-align:right" {{!}} Ratio | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Ratio | ||
{{!}} style="background-color: white" {{!}} '''{{{Ratio}}}''' | | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Ratio}}}''' | | ||
<includeonly><span style="color:red">Error: Parameter ''Ratio'' missing!</span> [[Template:Infobox Interval|Help ...]]<br/></includeonly> | <includeonly><span style="color:red">Error: Parameter ''Ratio'' missing!</span> [[Template:Infobox Interval|Help ...]]<br/></includeonly> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{Monzo|}}} | | {{#if: {{{Monzo|}}} | | ||
{{!}} style="text-align:right" {{!}} [[Monzos|Monzo]] | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Monzos|Monzo]] | ||
{{!}} style="background-color: white" {{!}} '''{{{Monzo}}}''' | | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{Monzo|{{{Monzo}}}}}''' | | ||
<includeonly><span style="color:red">Error: Parameter ''Monzo'' missing!</span> [[Template:Infobox Interval|Help ...]]<br/></includeonly> | <includeonly><span style="color:red">Error: Parameter ''Monzo'' missing!</span> [[Template:Infobox Interval|Help ...]]<br/></includeonly> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{Cents|}}} | | {{#if: {{{Cents|}}} | | ||
{{!}} style="text-align:right" {{!}} [[Cent| | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Size in [[Cent|Cents]] | ||
{{!}} style="background-color: white" {{!}} '''{{{Cents}}} ¢''' | | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Cents}}} ¢''' | | ||
<includeonly><span style="color:red">Error: Parameter ''Cents'' missing!</span> [[Template:Infobox Interval|Help ...]]<br/></includeonly> | <includeonly><span style="color:red">Error: Parameter ''Cents'' missing!</span> [[Template:Infobox Interval|Help ...]]<br/></includeonly> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{Name|{{{Names|}}}}}} | | {{#if: {{{Name|{{{Names|}}}}}} | | ||
{{!}} style="text-align:right" {{!}} Name(s) | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Name(s) | ||
{{!}} style="background-color: white" {{!}} '''{{{Name|{{{Names}}}}}}''' | | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Name|{{{Names}}}}}}''' | | ||
<includeonly><span style="color:red">Error: Parameter ''Name'' or ''Names'' missing!</span> [[Template:Infobox Interval|Help ...]]<br/></includeonly> | <includeonly><span style="color:red">Error: Parameter ''Name'' or ''Names'' missing!</span> [[Template:Infobox Interval|Help ...]]<br/></includeonly> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{Color name|{{{Color Name|}}}}}} | | {{#if: {{{Color name|{{{Color Name|}}}}}} | | ||
{{!}} style="text-align:right" {{!}} [[Kite's color notation|Color name]] | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Kite's color notation|Color name]] | ||
{{!}} style="background-color: white" {{!}} '''{{{Color name|{{{Color Name}}}}}}''' | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Color name|{{{Color Name}}}}}}''' | ||
}} | }} | ||
|- | |- | ||
| Line 59: | Line 60: | ||
! Usage hints, Remarks | ! Usage hints, Remarks | ||
|- | |- | ||
| | | JI glyph | ||
| | | Just intonatin glyph, if one exists | ||
| complete with prefix "File:" and brackets | | complete with prefix "File:" and brackets | ||
|- | |- | ||
| Line 90: | Line 91: | ||
Usage example for the harmonic seventh ([[7/4]]): | Usage example for the harmonic seventh ([[7/4]]): | ||
<nowiki>{{Infobox Interval | <nowiki>{{Infobox Interval | ||
| | | JI glyph = [[File:glyph_7_4.png|124px]] | ||
| Ratio = 7/4 | | Ratio = 7/4 | ||
| Monzo = -2 0 0 1 | | Monzo = -2 0 0 1 | ||
| Line 104: | Line 105: | ||
Empty template for copy & paste (to avoid copying wrong values from interval pages: | Empty template for copy & paste (to avoid copying wrong values from interval pages: | ||
<nowiki>{{Infobox Interval | <nowiki>{{Infobox Interval | ||
| | | JI glyph = | ||
| Ratio = | | Ratio = | ||
| Monzo = | | Monzo = | ||