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

From blackwiki
Jump to navigation Jump to search
imported>Magioladitis
m (→‎Usage: clean up, replaced: {{-}} → {{clear}} using AWB (12084))
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 12: Line 12:
 
* ''4'' - The number of years between each entry, default 1
 
* ''4'' - The number of years between each entry, default 1
 
{{clear}}
 
{{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