Difference between revisions of "Template talk:Locations"

From LGPedia
Jump to: navigation, search
Line 14: Line 14:
  
 
: 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.--[[User:Modelmotion|modelmotion]] 14:04, 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.--[[User:Modelmotion|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. --[[User:Brucker|Brucker]] 14:46, 21 November 2006 (CST)

Revision as of 20:46, 21 November 2006

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)