Forum:Infobox templates

I've made some pretty large changes to the Infobox templates (Template:Infobox character and Template:Infobox special). I removed the old Template:Infobox game character and combined the functionality in the Infobox character template. Now, when you add either of these two templates, it will automagically add categories depending on the values you enter. Both of them will add the page to the categories Category:Characters and Category:Specials (or a sub category of one of those). So for any new character or special pages, make sure to always add these templates. It is fine if you leave them empty, they'll be in the Category:Needs a Picture automagically as well.

To add a template, if you are in Source mode, just type or  at the top of the page. If you are in Visual mode, there is a section in the right column that says Templates. Click the "Add other templates" and search for it.

To duplicate the Infobox game character template, I've added 4 new fields to Infobox character. They are game_name, game_image, game_name2, game_image2. If you fill out the game_name or game_name2, it will create a "game" section in the infobox (see Kleya Smith for an example). You don't need to give a game_image, just give the game_name and if there is a missing game_image, it will get the Category:Needs a Picture.

For characters where we only have a game name and game image (like Waterman), don't worry about the life_name or image. Just fill in the game_name and game_image and it will use those for the main image and name.

The reality_name field is different as well. Don't fill it in unless the reality_name is different from the life_name. We haven't come across any occurrences of this but I believe Kleya and maybe Jane will be like this.

The race can only take one value for now: NPC. Any other value will show a message at the top of the page. And faction is also limited to one value: TENka.

I'm planning on creating a Template:Infobox location that will be added to all location pages.

With these changes, you shouldn't have to add a character, special, or location page to any category. The templates should do it all for you. If there is a category that you think a page should be attached to and the template isn't doing it, contact me and I'll work on it. Navert (talk) 15:03, November 27, 2012 (UTC)