Difference between revisions of "Template:Cat topic year/doc"

From blackwiki
Jump to navigation Jump to search
imported>NSH002
(rm container cat and the interwikis)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
 
* ''3'' - The suffix which appears after the year in the category name, including leading space if any
 
* ''3'' - The suffix which appears after the year in the category name, including leading space if any
 
* ''4'' - The number of years between each entry, default 1
 
* ''4'' - The number of years between each entry, default 1
{{-}}
+
{{clear}}
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Works-by-year templates]]
 
[[Category:Works-by-year templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:53, 24 April 2020

Usage

{{Cat topic year|prefix|year|suffix|step}}
List of year things 1835 1840 1845 1850 1855 1860 1865
Years 1835 1840 1845 1850 1855 1860 1865

Parameters (example {{Cat topic year|List of |1850| things|5}} shown at right):

  • 1 - The prefix which appears before the year in the category name, including trailing space if any
  • 2 - The primary year for the center element of the links (default=2025)
  • 3 - The suffix which appears after the year in the category name, including leading space if any
  • 4 - The number of years between each entry, default 1