Template talk:Vid

From LGPedia
Revision as of 12:41, 11 April 2007 by Renegade (Talk | contribs) (RE: if vs. ifeq - right?)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RE: if vs. ifeq - right?

Basically, the answer is "yes and no". Your design specifically checks for "new=yes". My design checks for "new=[anything but blank]". If it was up to me, I'd have designed to just check for "new" without anything - since that is not possible, I wrote it to check for new and anything. I just specified "new=yes" because the more options people have, the more confused they get - if I said "just write new= and anything" people would go "what do you mean, 'anything'?". Telling them "write new=yes if the video is new" makes logical sense to them and is easy to do. Nevertheless, with if only, "new=yse" or any other typo would work as well.
In other words: I suggested "yes" as the value, you enforced it. (It's good to be admin, isn't it? :D) In practise, it'll hardly ever make a difference - only if somebody neither previews nor proofreads. (Although I'd love to see people's looks if the code said |new=kids on the block or something.)

~ Renegade (talk | contribs) 07:41, 11 April 2007 (CDT)