Difference between revisions of "Template:EconomicsYearCat/doc"

From blackwiki
Jump to navigation Jump to search
imported>UnitedStatesian
m (UnitedStatesian moved page Template:Ecoyearscat/doc to Template:Econyearscat/doc: move to match base template)
imported>BrownHairedGirl
(make parameterless)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
==Usage notes==
+
{{Lua|Module:Navseasoncats/navyear}}
* '''{{tnull|ecoyearscat|2= DECADE |3= YEAR |4= PREVIOUS DECADE |5= NEXT DECADE }}'''
+
To create a category of the form "YYYY in economics"
  
===Example===
+
e.g. [[:Category:1962 in economics]]
* '''{{tnull|ecoyearscat|2=200|3=9|4=1999|5=2010}}'''
 
  
For the year 2009,
+
==Usage==
* the first three digits (indicating precise decade) are in position one
+
<code><nowiki>{{Econyearscat}}</nowiki></code>
* the last digit (indicating year of decade) is in position two
+
 
* the last year of the preceding decade is in position three
+
No parameters needed
* the first year of the subsequent decade is in position four
 
  
 
<includeonly>
 
<includeonly>

Revision as of 02:14, 4 March 2019

To create a category of the form "YYYY in economics"

e.g. Category:1962 in economics

Usage

{{Econyearscat}}

No parameters needed