Template talk:Infobox shopping mall

From Wikipedia, the free encyclopedia

{{Infobox shopping mall 
  | shopping_mall_name = 
  | image = 
  | caption = 
  | location = 
  | opening_date = 
  | developer = 
  | manager = 
  | owner = 
  | number_of_stores = 
  | number_of_anchors = 
  | floor_area = 
  | floors = 
  | parking = 
  | website =  
}}

[edit] Recent change

[edit] Add IF statements

Could someone add "if" statements to the template code, so if I don't put in a field for "management" for instance, I won't get the {{{manager}}} response or have the word "Management" anywhere. For help, look at Template:Infobox road. --TinMan 02:15, 23 July 2006 (UTC)

Done, copied syntax from Template:Infobox FilmFitch 07:55, 21 September 2006 (UTC)

[edit] Shopping centre Infobox change

There are tons of articles that need updating. Since you changed Template:Infobox shopping mall, you need to fix the articles. If you don't have time or a good way to recruit people, I guess change it back, I don't have a good way to fix them all. Also, the template uses {{{name}}} for the image, but that field isn't part of the infobox. Do you think it should be {{{shopping_mall_name}}} or should the pages be changed? Thanks for your help! —Fitch 18:52, 11 October 2006 (UTC)

{{{shopping_mall_name}}} should be put in yes, that was an oversight, as for the template's use, there aren't as many as that, I'll update as many as I can, in lumps of 20 or so. There can be changed by the Shopping Centres articles' respective authors. what needs to be deleted from the articles is [[Image: and |thumb|pixelsize|caption]]. Just put the image name in without size or caption. The changes make the infobox a lot easier and simpler to use, and is used as I've edited in on many other templates. Cheers, Captain Scarlet and the Mysterons 20:37, 11 October 2006 (UTC)
There is no need to revert my changes of the template. Ignorance of the changes made does not justify reverting it, ask me what the changes do and how to update the articles that use the template. Captain Scarlet and the Mysterons 09:42, 12 October 2006 (UTC)

Okay, so for those of you playing along at home, Captain Scarlet has made a change to the way images are displayed in the box. If you see something like this in the infobox:

[[Image:|200px|caption]]

simply change {{{image}}} which may look like [[Image:image.jpg|thumb|pixelsize|caption]] to just the name of the image (image.jpg). Optionally, you may use {{{image_width}}} and {{{caption}}}. —Fitch 21:55, 12 October 2006 (UTC)