Template talk:Locations

From LGPedia
Revision as of 19:50, 27 November 2006 by Brucker (Talk | contribs)

Jump to: navigation, search

Simplifying

If you're intending to always have the same image and caption, it seems like it shouldn't be part of the template in that way. Maybe I'm misunderstanding, but it seems you should replace

{{#if: {{{image|}}} | [[Image:{{{image}}}|220px| ]]<br>{{{caption}}} |
 Image not available.<br />Please [[Special:Upload | add]] one. }}

with

[[Image:Loc.jpg]]<br>
Where the loction was used:|

Is this what you're trying to do?--Brucker 13:54, 21 November 2006 (CST)

You are totally correct. This is my first try with templates and I am just glad that I got something thats functional......but its clumsy. I just did the best I could do and figured that it works for now and i can fix it up a little once its implemented. But first I wanted to make sure that I got a positive reaction to adding it to the pages. The index part could also use some improvement because I dont want to update every page when a new location is added........so that would be my number one area for improvement. The reason its the way it is at the moment is because i reverse engineered it from the videos template but now I am getting a better idea of how they work.--modelmotion 14:04, 21 November 2006 (CST)
Well, that's the thing with a these wikis, the site as a whole is a work in progress, isn't it. I like what you're doing here. --Brucker 14:46, 21 November 2006 (CST)
Okay, I've got the template smaller and more standardized. From now on, when a new location is added to the list, instead of adding it to every location page, just add it to the template. This will also cut down on issues with errors. PLease do make sure you're careful with your spelling on page titles, at the very least. --Brucker 13:50, 27 November 2006 (CST)