Forum:Template for displaying Characters

Hiya! I edit the Final Fantasy Wiki.

I tweaked the Template:Nihongo template so that whenever I use it, e.g.


 * Japanese (日本語) is a language used in Final Fantasy games.

it displays something that looked like this:


 * Japanese (日本語, Nihongo?, lit. Japanese language), also known as Moonspeak, is a language used in Final Fantasy games.

But so far, what I could manage only looked like this:


 * Japanese (日本語, Nihongo?, Japanese language) Moonspeak is a language used in Final Fantasy games.

Could you guide me on what should be fixed? Thank you.  BLUER   一番   01:45, July 8, 2010 (UTC)


 * The following wikicode:
 * Should produce:
 * Japanese (日本語, Nihongo?, lit. Japanese language), also known as Moonspeak, is a language used in Final Fantasy games.
 * -- Fandyllic  (talk &middot; contr) 4:38 PM PST 7 Jul 2010
 * Is there a way so that "lit." and "also known as" are automatically added?  BLUER   一番   05:10, July 8, 2010 (UTC)
 * Yes, you would have to modify the template. Do you want them to be added all the time or just on request? -- Fandyllic  (talk &middot; contr) 9:28 AM PST 8 Jul 2010
 * Ideally, the template should be so that we don't need to manually input "lit." and "also known as". I see it now works if I write "extra=foo" which results in "lit. foo" and "extra2=bar" which results in ") also known as bar". Would be possible if we just eliminate the and  parameters?
 * Also, is there some way we can do it so if I write:
 * it becomes:
 * Nihongo (日本語? )  BLUER   一番   15:12, July 9, 2010 (UTC)
 * it becomes:
 * Nihongo (日本語? )  BLUER   一番   15:12, July 9, 2010 (UTC)


 * Would recommend making a copy of Nihongo and calling it Ffnihongo or something like that and then make modifications to the new wiki and start migrating over to it. The problem with changing Wikipedia based templates is that people often won't know to check to see if a template with the same name has changes and will get confused when they get unexpected results. Better to make a custom template and have people learn the differences.
 * Now if you were merely extending the existing functionality of a template then keeping the same name is probably okay. -- Fandyllic  (talk &middot; contr) 2:36 PM PST 9 Jul 2010
 * Oh, but we've basically wrote a code much different than in the Wikipedia. If you could follow the link to the template I gave, I've already updated it. Just not sure why it didnt work the way it was meant to.  BLUER   一番   03:34, July 10, 2010 (UTC)