Template:Cite EB15/year ok: Difference between revisions
From Vigyanwiki
(Created page with "{{#if: {{{1|}}} | {{ifnum | {{{1|}}} | {{#ifexpr: {{{1|}}} >= 1974 and {{{1|}}} <= 2012 | {{{1|}}} | }} | }} | {{{1|}}} }}<...") |
m (1 revision imported from alpha:Template:Cite_EB15/year_ok) |
(No difference)
|
Latest revision as of 07:22, 17 October 2023
Template documentation
Year validation: returns empty if year is missing or invalid; returns the year if valid.
Usage
{{Cite EB15/year ok|YYYY}}
Parameters
There is one required unnamed parameter:
- 1 – the year of publication (4 digits; e.g., 1989)
Examples
- {{Cite EB15/year ok}} →
- {{Cite EB15/year ok|1972}} →
- {{Cite EB15/year ok|1989}} → 1989
- {{Cite EB15/year ok|2015}} →
[[Category:Template documentation pages{{#translation:}}]]