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>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(5 intermediate revisions by 2 users not shown)
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>{{EconomicsYearCat}}</nowiki></code>
* the last digit (indicating year of decade) is in position two
 
* the last year of the preceding decade is in position three
 
* the first year of the subsequent decade is in position four
 
  
<includeonly>
+
No parameters needed
 +
 
 +
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Economics templates|{{PAGENAME}}]]
+
[[Category:Economics templates]]
[[Category:Chronology category templates|{{PAGENAME}}]]
+
[[Category:Chronology category header templates]]
 
+
}}</includeonly>
[[ru:Шаблон:Econyearcat]]
 
[[ur:Template:Ecoyearscat]]
 
[[zh:Template:Ecoyearscat]]
 
</includeonly>
 

Latest revision as of 00:55, 25 April 2020

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

e.g. Category:1962 in economics

Usage

{{EconomicsYearCat}}

No parameters needed