Difference between revisions of "Template:History"

From eRepublik Official Wiki
Jump to: navigation, search
(note about the last day in the month; correcting first days in the month)
m
 
Line 17: Line 17:
 
| [[History/{{{next|}}}|{{{next|}}}<br/>Day {{Day|{{{next|}}} }}]]
 
| [[History/{{{next|}}}|{{{next|}}}<br/>Day {{Day|{{{next|}}} }}]]
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
==Usage==
+
{{Documentation}}
Simply put '''<nowiki>{{History}}</nowiki>''' at the bottom of the article.
+
 
+
This template is to be used only on [[History]] pages that start with History/DATE as the template uses DATE to setup everything.
+
 
+
'''Note''': ''All of the dates (Date and eRepublik day) are calculated automatically.''
+
 
+
'''Problem with the last day in the month'''. At the moment, template doesn't work in the last day of the month, so don't use it there.
+
 
+
==Example==
+
How the template would look like if you add History template on page [[History/{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]]
+
{{History|{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
+
 
[[Category:Navigation Box Templates]]</noinclude>
 
[[Category:Navigation Box Templates]]</noinclude>

Latest revision as of 08:34, 29 July 2022

[edit] [purge]

Documentation

Usage

Simply put {{History}} at the bottom of the article.

This template is to be used only on History pages that start with History/DATE as the template uses DATE to setup everything.

Note: All of the dates (Date and eRepublik day) are calculated automatically.

Problem with the last day in the month. At the moment, template doesn't work in the last day of the month, so don't use it there.

Example

How the template would look like if you add History template on page History/28 April 2024


Preceded by History of the New World Succeeded by
27 April 2024
Day 6003
28 April 2024
Day 6004
29 April 2024
Day 6005