Template:Nengo/doc
From WikiAlpha
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page. |
This is a documentation subpage for Template:Nengo. It contains usage information, categories and other content that is not part of the original template page. |
40x40px | This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
This template takes one parameter, a four-digit year between 1394 and the present year, and returns the Japanese era name corresponding to that year.
Examples
- {{nengo|1492}} -> Meio
- {{nengo|1776}} -> An'ei
- {{nengo|1864}} -> Genji
- {{nengo|1941}} -> Shōwa period
- {{nengo|2024}} -> Heisei
See also
- {{Japanese era}}
- {{Japan current era date}}
- {{Japanese year}}
- {{Japanese year number}}