Template talk:Infobox building

From YPPedia

Now that we have default template parameters, I'd like to see an infobox building that took the following parameters. I'm not sure how to do it yet, but here's the features I'd like to see.

Required fields:

  • ocean
  • arch
  • island
  • owner
  • type (enforced to actual building types)

Optional fields:

  • upgraded (yes/no) (default to no)
  • facing (left/right) (default to nothing shown)
  • managers (up to 5) (default to nothing shown)

The template would auto-categorize to: [[Category: <ocean> <plural of type>]]. This might involve a little trickery involving "apothecaries". --Barrister 13:10, 30 June 2006 (PDT)

I started on it a bit. Going to set up a sandbox with all of this in mind. Name should probably be a required field as well. --Thunderbird 19:17, 30 June 2006 (PDT)
Do we want to distinguish bazaars from normal shoppes in the categories? --Thunderbird 19:30, 30 June 2006 (PDT)
Recentchangesspam++. I think I have everything in here. See User:Thunderbird/Sandbox for a couple samples on how it looks. --Thunderbird 19:38, 30 June 2006 (PDT)
Very nice. A couple more ideas: 1) Change "upgraded" to "size". Acceptable values would be "regular", "upgraded", and "bazaar". Default would be "regular". 2) Add an optional screenshot. I'm strongly in favor of the first, but less attached to the second idea. --Barrister 21:57, 30 June 2006 (PDT)
Going to have to universalize the image extension to be uppercase or lowercase png, otherwise the screenshot parameter will not work properly. --Thunderbird 22:15, 30 June 2006 (PDT)

I tried it out with User:Barrister/Sandbox for Pythagorean Serums. --Barrister 22:20, 30 June 2006 (PDT)

Screenshot

I played around with the screenshot a bit. I couldn't get it inside the main infobox, though. It always did something unexpected. --Barrister 23:58, 30 June 2006 (PDT)

Ooooh! I think I got it. User:Barrister/Sandbox --Barrister 00:06, 1 July 2006 (PDT)

"Dusted" Buildings That No Longer Exist

Would it be possible to add a field to this template for dusted buildings that no longer exist? It could appear after "Erected", maybe, and list the date that it finally "Dusted"? Just a thought! --Lilly 23:31, 28 December 2006 (PST)

I'll give it a go in the morning.--Fiddler 23:38, 28 December 2006 (PST)
Thanks! I think it will be a nice addition. :) --Lilly 12:07, 5 January 2007 (PST)
Any news on this dusting addition? --Cecidrake 20:19, 23 January 2007 (PST)

Template not working right for Bazaars??

I just noticed that the builing template is acting a bit weird for Bazaars. Maybe some of the recent changes with the adding of the dusted parameter made something different? As an example take a look at Pacific Potions, I've checked a few more bazaar pages and they all have the same problem. --Cecidrake 19:36, 28 February 2008 (PST)

Whoops. Fixied. --Thunderbird 20:00, 28 February 2008 (PST)

Template code

Can I suggest the template code itself be included in the usage notes? Similar to Template:Infobox pirate. It makes creating an infobox much easier if I can simply copy it out of the usage notes than trying to find a page which uses it. --Belthazar451 20:52, 6 June 2008 (PDT)

Hello! Could this please happen? Thank you! --Jenhonk 10:14, 26 October 2010 (UTC)
Ooo, hah. Completely forgot about this. All done. --Belthazar451 12:46, 26 October 2010 (UTC)