Template talk:Japanese year
From Wikipedia, the free encyclopedia
Contents |
[edit] Documentation
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. {{Japanese year|year=2006}}
or {{Japanese year|2006}}
.
[edit] Sample output
Wikitext | Output |
---|---|
{{Japanese year|476}} |
|
{{Japanese year|1988}} |
Shōwa 63 |
{{Japanese year|1989}} |
Heisei 1 |
{{Japanese year|2006}} |
Heisei 18 |
[edit] Pre-expand include size
Pre-expand include size: 59902 bytes.--Patrick 12:08, 25 January 2007 (UTC)
[edit] Discussion
[edit] Limitation
This template can be called ca. 131 times on a page (less if there is more on the page). See below for the effect of excess calls.
Old:
This template can be called 44 times on a page (less if there is more on the page). See below for the effect of excess calls.
Template:nengo (talk, backlinks, edit) can be called 183 times on a page.
The ratio between the two limitations is largely determined by the fact that this template calls Template:nengo (talk, backlinks, edit) 4 times.
Old:
Template:japanese era (talk, backlinks, edit) can only be called 931 times on a page (less if there is more on the page). Template:nengo (talk, backlinks, edit) calls Template:japanese era (talk, backlinks, edit) 69 times, so Template:nengo (talk, backlinks, edit) can only be called 13 times. Template:japanese year (talk, backlinks, edit) calls Template:nengo (talk, backlinks, edit) 4 times, so Template:japanese year (talk, backlinks, edit) can only be called 3 times.
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
========================================================================================
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18
Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei 18Heisei Expression error: Unrecognised punctuation character "["
Japanese year/era and yearJapanese yearJapanese yearJapanese yearJapanese yearJapanese yearJapanese yearJapanese yearJapanese yearJapanese year
Japanese yearJapanese yearJapanese yearJapanese yearJapanese yearJapanese yearJapanese yearJapanese yearJapanese yearJapanese year