Template:Update after/testcases
Appearance
This is the template test cases page for the sandbox of Template:Update after. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Case 1: Past year only
[edit]{{Update after|2023}}
{{Update after}}[needs update]
{{Update after/sandbox}}[needs update]
Case 2: Past year and month
[edit]{{Update after|2023|12}}
{{Update after}}[needs update]
{{Update after/sandbox}}[needs update]
Case 3: Past year, month and day
[edit]{{Update after|2023|12|24}}
{{Update after}}[needs update]
{{Update after/sandbox}}[needs update]
Case 4: Past year, month, day and reason
[edit]{{Update after|2023|12|24|4=reason= Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. }}
{{Update after}}[needs update]
{{Update after/sandbox}}[needs update]
Case 5: Past year, month, day and text
[edit]{{Update after|2023|12|24|4=text= Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. }}
{{Update after}}[needs update]
{{Update after/sandbox}}[needs update]
Case 6: today and text
[edit]{{Update after|2024|12|24|4=text= Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. }}
{{Update after}}
Case 7: Future year
[edit]{{Update after|2025}}
{{Update after}}
Case 8: Future year, month, day, reason and text
[edit]{{Update after|2025|12|24|4=reason= Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |5=text= Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. }}
{{Update after}}
Case 9: No parameters
[edit]{{Update after}}
{{Update after}}[needs update]