Template:Japanese year/doc

From WikiAlpha
< Template:Japanese year
Revision as of 01:46, 17 April 2017 by LuisAnton (Talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{Intricate template}} This template converts a year number in the Grego...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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}}