Template:By year categories/doc: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page --> <templatedata> { "params": { "decade": { "aliases": [ "1" ], "label": "Decade", "description": "Decade of content (YYY)", "example": "201", "type": "date", "required": true }, "year": { "aliases": [ "2" ], "label": "Year", "description": "Full year of content (YYYY)", "example": "2012", "type": "date", "required": true }..."
Tag: 2017 source edit
 
mNo edit summary
Tag: 2017 source edit
 
Line 26: Line 26:
},
},
"description": "For usage on the categories within the 'Category:By year' parent category.",
"description": "For usage on the categories within the 'Category:By year' parent category.",
"format": "block"
"format": "inline"
}
}
</templatedata>
</templatedata>

Latest revision as of 07:22, 30 September 2023

For usage on the categories within the 'Category:By year' parent category.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Decadedecade 1

Decade of content (YYY)

Example
201
Daterequired
Yearyear 2

Full year of content (YYYY)

Example
2012
Daterequired

Usage

{{By year categories|decade=|year=}}

Example

{{By year categories|decade=201|year=2012}}