Template:Nengo
From WikiAlpha
Revision as of 02:11, 17 April 2017 by LuisAnton (Talk | contribs) (Created page with "<includeonly>{{#ifexpr:({{{1}}}>1988)|Heisei}}{{#ifexpr:({{{1}}}>1925)and({{{1}}}<=1988)|Shōwa period}}{{#ifexpr:({{{1}}}>1911)and({{{1}}}<=1925)|Taishō}}{{#ifexpr:({{{1}}}>...")
[edit] [ ] Template documentation
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. |
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
The above documentation is transcluded from Template:Nengo/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |