Template:Infobox interval: Difference between revisions

Xenwolf (talk | contribs)
styling: min width, and table expanding to width of the box
Xenwolf (talk | contribs)
added another version for copy&paste, added section headings with a see-also section pointing to the template for ET/EDO pages
Line 64: Line 64:


The template '''Infobox Interval''' was built to help presenting basic information 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 template '''Infobox Interval''' was built to help presenting basic information 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.
== Usage ==


The templates supports the following parameters (highly requested parameters in '''bold'''):
The templates supports the following parameters (highly requested parameters in '''bold'''):
Line 104: Line 106:
| only name of the file (no prefix "File:" and of course without Brackets)
| only name of the file (no prefix "File:" and of course without Brackets)
|}
|}
== Example ==


Usage example for the harmonic seventh ([[7/4]]):
Usage example for the harmonic seventh ([[7/4]]):
Line 118: Line 122:
In the above example, an icon from the [[JI glyphs]] set is used.
In the above example, an icon from the [[JI glyphs]] set is used.


----
== Boilerplates ==


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 =  
| JI glyph =  
Line 131: Line 135:
| Sound =  
| Sound =  
}}</nowiki>
}}</nowiki>
'''Partlially self-filling''' version for copy &amp; paste (to avoid copying wrong values from interval pages:
<nowiki>{{Infobox Interval
| Icon =
| Ratio = {{subst:PAGENAME}}
| Monzo =
| Cents = {{subst:cents|{{subst:PAGENAME}}|5}}
| Name =
| Color name =
| FJS name =
| Sound =
}}</nowiki>
== See also ==
* [[Template:Infobox ET]]


[[Category:Templates]]
[[Category:Templates]]