Template:Infobox interval: Difference between revisions
Let's do FJS names too |
improved error messages for missing information, auto-categorize the article in the corresponding todo category |
||
Line 19: | Line 19: | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Ratio | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Ratio | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Ratio}}}''' | | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Ratio}}}''' | | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Ratio | |||
{{!}} <span style="color:red"><abbr title="missing value for parameter 'Ratio'">''missing''</abbr></span><sup>[[Template:Infobox Interval| ? ]]</sup><includeonly>[[Category:Todo:add interval ratio]]</includeonly> | |||
}} | }} | ||
|- | |- | ||
Line 25: | Line 26: | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Monzo]] | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Monzo]] | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{Monzo|{{{Monzo}}}}}''' | | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{Monzo|{{{Monzo}}}}}''' | | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} [[Monzo]] | |||
{{!}} <span style="color:red"><abbr title="missing value for parameter 'Monzo'">''missing''</abbr></span><sup>[[Template:Infobox Interval| ? ]]</sup><includeonly>[[Category:Todo:add interval monzo]]</includeonly> | |||
}} | }} | ||
|- | |- | ||
Line 31: | Line 33: | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Size in [[cent]]s | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Size in [[cent]]s | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Cents}}}''' | | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Cents}}}''' | | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Size in [[cent]]s | |||
{{!}} <span style="color:red"><abbr title="missing value for parameter 'Cents'">''missing''</abbr></span><sup>[[Template:Infobox Interval| ? ]]</sup><includeonly>[[Category:Todo:add interval cents]]</includeonly> | |||
}} | }} | ||
|- | |- | ||
Line 37: | Line 40: | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Name(s) | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Name(s) | ||
{{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Name|{{{Names}}}}}}''' | | {{!}} style="background-color: white; padding-left: 0.25em" {{!}} '''{{{Name|{{{Names}}}}}}''' | | ||
{{!}} style="text-align:right; padding-right: 0.25em" {{!}} Name(s) | |||
{{!}} <span style="color:red"><abbr title="missing value for parameter 'Name'">''missing''</abbr></span><sup>[[Template:Infobox Interval| ? ]]</sup><includeonly>[[Category:Todo:add interval name]]</includeonly> | |||
}} | }} | ||
|- | |- | ||
Line 54: | Line 58: | ||
}} | }} | ||
|} | |} | ||
</div><noinclude> | </div><includeonly><!-- this includeonly section is for changing parameter names to regular form -->{{#if: {{{Names|}}} | ||
| [[Category:Todo:normalize interval parameters]]}}{{#if: {{{Color Name|}}} | |||
| [[Category:Todo:normalize interval parameters]]}}{{#if: {{{FJS Name|}}} | |||
| [[Category:Todo:normalize interval parameters]]}}</includeonly><noinclude> | |||
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. | ||
The templates supports the following parameters ( | The templates supports the following parameters (highly requested parameters in '''bold'''): | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 71: | Line 78: | ||
| '''Ratio''' | | '''Ratio''' | ||
| Frequency [[ratio]] of the interval | | Frequency [[ratio]] of the interval | ||
| | | pages with missing values go into [[:Category:Todo:add interval ratio]] | ||
|- | |- | ||
| '''Monzo''' | | '''Monzo''' | ||
| Parameters of the [[Monzo]] notation | | Parameters of the [[Monzo]] notation | ||
| | | pages with missing values go into [[:Category:Todo:add interval monzo]] | ||
|- | |- | ||
| '''Cents''' | | '''Cents''' | ||
| Size in [[cent]]s | | Size in [[cent]]s | ||
| | | pages with missing values go into [[:Category:Todo:add interval cents]] | ||
|- | |- | ||
| | | '''Name''' | ||
| Name(s) of the interval | | Name(s) of the interval | ||
| | | pages with missing values go into [[:Category:Todo:add interval name]] | ||
|- | |- | ||
| Color name | | Color name |