Template:HistoryDate/doc

From eRepublik Official Wiki
Jump to: navigation, search
edit

Edit-copy green.png Documentation subpage

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:HistoryDate.

Usage

This template is used together with {{Day}} template. Simply input the eRepublik day number as a variable or use "convert=date" to transform the real date and automatically a link to the history page with the real date will be created.

Example - eRepublik day

{{HistoryDate|EREPDAY}}

{{HistoryDate|0}} = 20 November 2007
{{HistoryDate|1000}} = 16 August 2010

Example - real date

Important: Only dates used as DAY FULLMONTHNAME YEAR will work properly

{{HistoryDate|convert=date|FULLDATE}}

{{HistoryDate|convert=date|20 November 2007}} = 20 November 2007