Template:Infobox interval: Difference between revisions
improved error messages for missing information, auto-categorize the article in the corresponding todo category |
only "Name" is displayed if this parameter is missing |
||
Line 40: | 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 | {{!}} style="text-align:right; padding-right: 0.25em" {{!}} Name | ||
{{!}} <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> | {{!}} <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> | ||
}} | }} |