Template:Japanese year
From WikiAlpha
Revision as of 01:44, 17 April 2017 by LuisAnton (Talk | contribs) (Created page with "<includeonly>{{Japanese year/era and year|era={{{era|{{Nengo|{{{1|{{{year|}}}}}}}}}}}|year={{{1|{{{year}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>")
[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 converts a year number in the Gregorian calendar into the corresponding era year in the Japanese calendar. It depends on the {{Nengo}}, {{Japanese era}}, and {{Japanese year number}} templates. If the era cannot be determined by the {{Nengo}} template, the output of this template will be blank. If the given year is a transitional year between eras, the new era's year will be given for the entire year, disregarding month and day of the actual transition date.
This template expects the Gregorian year to be passed either using the named year
parameter or the first unnamed parameter, i.e. Template:Tlp
or Template:Tlp
.
Sample output
{{safesubst:#invoke:aligned table|table}}
The above documentation is transcluded from Template:Japanese year/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. |