Jump to content

Template talk:DecadeCategoryNav

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Template-protected edit request on 23 April 2019[edit]

Please replace

{{esoteric}}

== Usage ==
 {{{{PAGENAME}}|decade=|topic=}}
Parameters:
* ''decade'' - The first year of the decade to form the "center" of the navigation (e.g. 1980)
* ''topic'' - (optional) The topic for the "DECADE in TOPIC" line (e.g. rail transport)
Example:
 {{{{PAGENAME}}|decade=1980|topic=rail transport}}
results in:
{{{{PAGENAME}}|decade=1980|topic=rail transport}}

== Error checking ==
This template should be capable of operating without parameters, by deriving them from the page title.
Tracking categories have been set up to test whether there are any valid exceptions:
* [[:Category:DecadeCategoryNav where topic param ≠ title topic]] (population: {{PAGESINCATEGORY:DecadeCategoryNav where topic param ≠ title topic}})
* [[:Category:DecadeCategoryNav where decade param ≠ title decade]] (population: {{PAGESINCATEGORY:DecadeCategoryNav where decade param ≠ title decade}})

Valid use are tracked at:
* [[:Category:DecadeCategoryNav where topic param = title topic]] (population: {{PAGESINCATEGORY:DecadeCategoryNav where topic param = title topic}})
* [[:Category:DecadeCategoryNav where decade param = title decade]] (population: {{PAGESINCATEGORY:DecadeCategoryNav where decade param = title decade}})

{{Purge|Purge this page to update the totals.}}

Valid exceptions include cases where the centre decade is intentionally different from the title decade, in order to link both backwards and forwards where there are currently long gaps between decade categories.

[[Category:Works-by-decade templates]]

with {{documentation}} to allow non-template-editors to improve the current documentation of the template. I have copied the current documentation and category over to the /doc page. Thanks, --DannyS712 (talk) 02:38, 23 April 2019 (UTC)[reply]

 Done * Pppery * has returned 03:21, 23 April 2019 (UTC)[reply]

Template-protected edit request on 26 April 2019[edit]

Please replace with the current version of the sandbox (diff). This removes the "years" portal, which is just a redirect to the history portal included above it. The result can be seen in the current /testcases. Thanks, --DannyS712 (talk) 03:36, 26 April 2019 (UTC)[reply]

 Done — JJMC89(T·C) 03:42, 26 April 2019 (UTC)[reply]