Template talk:Japanese era

Using plain name of era as key instead of pagename
It may be more convenient and flexible to use for the plain name of the era (also label), and instead of specifying a label, to specify a pagename, e.g. "Kanbun = Kanbun (era)" instead of "Kanbun (era) = Kanbun".

This would require a corresponding change in Japanese year/era and year and Nengo.--Patrick 09:00, 14 December 2006 (UTC)


 * This would run into trouble when one era name has the same romaji as another. I thought this was the case with Joo (second) and Joo (first), but it looks like they are "Jōō" and "Jō'ō" respectively. Some of the other era from Japanese era name are the same romanization, from what I can see: Jōgen, Jōwa, Kajō, Kōan, Kōji, Kōwa, Shōwa,      and Tenshō. There are a few more if you count the alternate romanizations that are listed for some of the eras. Unfortunately, I don't actually know Japanese, so I can't say anything too informative about whether this is actually a problem. Mike Dillon 00:34, 15 December 2006 (UTC)


 * With "plain name" I meant a name unique among eras, but not necessarily unique among Wikipedia pages, e.g. Shōwa.--Patrick 01:19, 15 December 2006 (UTC)


 * There are two "Shōwa" eras, from what I can see, along with two Jōgen, Jōwa, Kajō, Kōan, Kōji, Kōwa, and Tenshō. From my reading of Japanese era name, it seems like the era names are not all unique, whereas the article names have to be. Mike Dillon 05:33, 15 December 2006 (UTC)


 * Ok, but depending on context a label may have to be unique among eras too.--Patrick 00:41, 16 December 2006 (UTC)

Pre-expand include size
Pre-expand include size: 3721 bytes.--Patrick 11:10, 25 January 2007 (UTC)

Edit request
editprotected Please update with. Per Template documentation/List Thankyou. -- ṃ• α• Ł• ṭ• ʰ• Ə• Щ•   @  06:09, 28 April 2008 (UTC)
 * Done. – Luna Santin  (talk) 08:40, 28 April 2008 (UTC)

Expansion
I would like to add more eras to the template, which currently covers up to only the 14th century eras. Corresponding changes are going to be made to Template:Nengo. -- Taku (talk) 06:34, 7 June 2008 (UTC)
 * Please provide more information about the changes you require, and I'll change it for you. Thanks. —  Tivedshambo  (t/c) 09:33, 7 June 2008 (UTC)
 * This is the new version User:TakuyaMurata/Template:Japanese_era I would like to put. It only adds more eras to the current list. -- Taku (talk) 09:49, 7 June 2008 (UTC)
 * ✅ —  Tivedshambo  (t/c) 09:57, 7 June 2008 (UTC)

Edit request - Tenshō
Please change "Tenshō=1572" to "Tenshō (Momoyama period)=1572". Tenshō now points to a disambiguation page. Nick Number (talk) 18:33, 14 May 2012 (UTC)
 * ✅ Looks like User:MSGJ got this, let me know if I've misunderstood. --joe deckertalk to me 20:32, 14 May 2012 (UTC)
 * I did, but I've now reverted because it wasn't working. I've been trying to work out how these Japanese templates work because there is no documentation for any of them. I suspect you'll need to make this change in a different template. (Or else just leave it with the redirect, which is not really a problem.) &mdash; Martin (MSGJ · talk) 20:35, 14 May 2012 (UTC)
 * Whoops, sorry about the premature closure. --joe deckertalk to me 20:37, 14 May 2012 (UTC)
 * I took a look, and a shot at it, and while I do actually think that this is where something needs to change, my attempt failed for reasons I can't quite make sense of. This is used underneath (in part) a whole structure of other templates, what *seems* to be going on looks pretty transparent, but ... no love for my changes even so.  I'll leave this for smarter hands than mine.  --joe deckertalk to me 20:59, 14 May 2012 (UTC)
 * ✅ Got it. Four changes were required.  The first two tables required changing Tensho to Tensho (Momoyama period), as indicated and with respect to the Kanji translation.  The last table requires a conversion from the long form into a display form where the two differ, so we needed a Tensho (Momoyama period)=Tensho line added there.  The relevant changes to this template are contained in this two-edit diff.  As MSGJ suspected, there was yet another change, however.  Breaking a year number into an era is done at Template:Nengo, the correct change in that file was pretty obvious once I figured out I had to look there.  diff. --joe deckertalk to me 23:49, 14 May 2012 (UTC)