Changes

Jump to navigation Jump to search
no edit summary
<noinclude>
This template is used to print the date value from the year, month, day etc. Month and day are optional parameters.
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
 
'''Parameters:'''
* <code><nowiki>|era=</nowiki></code> - the era: BCE or CE. The default is CE.
* <code><nowiki>|year=</nowiki></code> - the year; mandatory.
* <code><nowiki>|month=</nowiki></code> - the month.
* <code><nowiki>|day=</nowiki></code> - the day.
 
</noinclude><includeonly><!--
-->{{#if: {{{year|}}}<!-- if there is year
-->|{{#if: {{{month|}}}<!--
-->|{{#if: {{{day|}}}<!--
-->|{{#time:j F Y|{{{day|}}} {{{month|}}} {{{year|}}} }} {{#ifeq: {{{era|CE}}}|BCE|BCE|}}<!-- all components are given
-->|{{#time:F Y|28 {{{month|}}} {{{year|}}} }} {{#ifeq: {{{era|CE}}}|BCE|BCE|}}<!-- only month and year are given
-->}}<!-- if day
-->|{{#time:Y|{{{year|}}}}} {{#ifeq: {{{era|CE}}}|BCE|BCE|}}<!-- only year is given
-->}}<!-- if month
-->}}<!-- if year
--></includeonly>

Navigation menu