Template:Infobox interval: Difference between revisions

Xenwolf (talk | contribs)
m added spaces to copy template
Xenwolf (talk | contribs)
changed visual appearance; changed one parameter name: "Icon" -> "JI glyph"
Line 9: Line 9:
float: right;
float: right;
">
">
{|
{| style="border-collapse: collapse;"
|+ <u>Interval information</u>
|+ <u>Interval information</u>
{{#if: {{{Icon|}}} |
{{#if: {{{JI glyph|}}} |
   {{!}} colspan="2" style="text-align:center" {{!}} <div style="background-color: white; padding: 2px; margin: 2px; border: 1px solid #eee; display: inline-block;">{{{Icon}}}</div>
   {{!}} 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; color:#888" {{!}} Ratio&nbsp;
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Ratio
   {{!}} '''{{{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; color:#888" {{!}} Monzo&nbsp;
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Monzos|Monzo]]
   {{!}} [[Monzos|'''{{Monzo|{{{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; color:#888" {{!}} Size&nbsp;
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Size in [[Cent|Cents]]
   {{!}} [[cent|'''{{{Cents}}}&#8239;&cent;''']] |
   {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Cents}}}&#8239;&cent;''' |
   <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; color:#888" {{!}} Name(s)&nbsp;
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Name(s)
   {{!}} '''{{{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; color:#888" {{!}} Color name&nbsp;
   {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Kite's color notation|Color name]]
   {{!}} [[Kite's color notation|'''{{{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  
|-
|-
| Icon
| JI glyph
| Image or symbol, if one exists
| 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
| Icon = [[File:glyph_7_4.png|alt=glyph 7 4.png|124x112px|glyph 7 4.png]] <small><br/>JI glyph for 7/4</small>
| JI glyph = [[File:glyph_7_4.png|48px]]
| Ratio = 7/4
| Ratio = 7/4
| Monzo = -2 0 0 1
| Monzo = -2 0 0 1
Line 104: Line 105:
Empty template for copy &amp; paste (to avoid copying wrong values from interval pages:
Empty template for copy &amp; paste (to avoid copying wrong values from interval pages:
  <nowiki>{{Infobox Interval
  <nowiki>{{Infobox Interval
| Icon =  
| JI glyph =  
| Ratio =  
| Ratio =  
| Monzo =  
| Monzo =