Шаблон:Nengo
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}}