(Add expiration code draft and some tweaks) |
m (Use case for only normal notable change (otherDate)) |
||
Line 2: | Line 2: | ||
| type = {{#if:{{{majorDate|}}}|critical|notice}} | | type = {{#if:{{{majorDate|}}}|critical|notice}} | ||
| text = {{#if:{{{majorDate|}}}|{{#ifexpr:{{#time:xNU|{{{majorDate}}} }}>{{#time:xNU|-3month}}|{{Anchor|UpdatedBannerMajor-current}}The contents of this page were substantially changed on '''''{{date|{{#if:{{{majorChurn|}}}|{{{majorChurn}}}|{{{majorDate}}} }} }}'''''. All editors '''must review''' this page thoroughly to understand the changes, which were for the following reason(s): [{{{majorForum}}} ''{{{majorDesc}}}''].{{Anchor|UpdatedBannerHas-majorDate-check-subprimes}} {{#if:{{{majorChurn|}}}{{{otherDate|}}}| | | text = {{#if:{{{majorDate|}}}|{{#ifexpr:{{#time:xNU|{{{majorDate}}} }}>{{#time:xNU|-3month}}|{{Anchor|UpdatedBannerMajor-current}}The contents of this page were substantially changed on '''''{{date|{{#if:{{{majorChurn|}}}|{{{majorChurn}}}|{{{majorDate}}} }} }}'''''. All editors '''must review''' this page thoroughly to understand the changes, which were for the following reason(s): [{{{majorForum}}} ''{{{majorDesc}}}''].{{Anchor|UpdatedBannerHas-majorDate-check-subprimes}} {{#if:{{{majorChurn|}}}{{{otherDate|}}}| | ||
<small><br/><br/>({{#if:{{{majorChurn|}}}|The overhaul first occurred on ''{{date|{{{majorDate}}} }}'' but related updates were made through {{date|{{{majorChurn}}} }}. |{{Anchor|UpdatedBannerNo-majorChurn}} }}{{#if:{{{otherDate|}}}| An [{{{otherForum}}} unrelated update] occurred on ''{{date|{{{otherDate}}} }}''|{{Anchor|UpdatedBannerNo-otherDate}} }})</small>|{{Anchor|UpdatedBannerNo-subprime}} }} |{{Anchor|UpdatedBannerMajor-expired}}<small>''This page was last revamped on {{date|{{{majorDate}}} }}{{#if:{{{otherDate|}}}|, and the last notable update was on {{date|{{{otherDate}}} }}}}. See discussion for possible links to related forum discussions.''</small>}}| {{Anchor|UpdatedBannerNo-majorDate(else)}} }} | <small><br/><br/>({{#if:{{{majorChurn|}}}|The overhaul first occurred on ''{{date|{{{majorDate}}} }}'' but related updates were made through {{date|{{{majorChurn}}} }}. |{{Anchor|UpdatedBannerNo-majorChurn}} }}{{#if:{{{otherDate|}}}| An [{{{otherForum}}} unrelated update] occurred on ''{{date|{{{otherDate}}} }}''|{{Anchor|UpdatedBannerNo-otherDate}} }})</small>|{{Anchor|UpdatedBannerNo-subprime}} }} |{{Anchor|UpdatedBannerMajor-expired}}<small>''This page was last revamped on {{date|{{{majorDate}}} }}{{#if:{{{otherDate|}}}|, and the last notable update was on {{date|{{{otherDate}}} }}}}. See discussion for possible links to related forum discussions.''</small>}}| {{Anchor|UpdatedBannerNo-majorDate(else)}} <small>''The last {{#if:{{{otherForum|}}}|[{{{otherForum}}} notable change]|notable change}} was on {{date|{{{otherDate}}} }}.''</small>}} | ||
}} | }} | ||
<noinclude> | <noinclude> |
Revision as of 20:23, 30 December 2014
The last notable change was on {{{otherDate}}}. |
Parameters: majorDate = YYYY/MM/DD - date last major set of updates started (if there is still churn expected) or completed (if now stable) majorDesc = description of the changes majorForum = forum thread discussing the major changes majorChurn = YYYY/MM/DD - a later update related to the recent major change otherDate = YYYY/MM/DD - optional - last date of any significant change in content that is not considered major otherForum = forum thread discussing any less significant changes
Four levels of change:
- Major: Page is completely overhauled, or many policy changes, or even a single policy change that has community-wide, "must know" implications. Should add/update the majorDate/majorDesc/majorForum, and remove otherDate. When expired (6 months) should be downgraded.
- "Major churn:" There has been a recent major update, and the new change is smaller but corrects/clarifies the major update. Should only apply if the major update or subsequent similar "churn" was within the past two weeks. Change/add majorChurn but leave other parameters alone. Note that majorChurn should not be used for formatting, grammar, inconsequential updates, nor for any update not related to a recent major change.
Minor: Inconsequential. Formatting, grammar, clarification to an item that is unlikely to have any significant impact if missed. Do not update the banner.
Other: Any change to content that is important, but less critical, and does not alter the page as a whole. Update the otherDate and possibly otherForum, but nothing else. Note that if a change unrelated to a major overhaul occurs even the day after overhaul, then it is considered "other" not "churn."