Template talk:Tag

From LGPedia
Jump to: navigation, search

Examples

See parents, ceremony, and dude for examples of the three uses of this template.--Jonpro 21:31, 13 March 2007 (CDT)

Crap, actually, I just realized we have another problem. A lot of the links aren't actually from video tags, but just other places that ceremony or parents were linked. --JayHenry 21:39, 13 March 2007 (CDT)
Yeah, I'm not sure how to get around that. Ideally, unless the page is a content page itself (like Bree or Jonas), it won't have any links to it except from the video tags. Pages linking to ceremony should really link to The Ceremony (ritual) and pages linking to parents should really link to Bree's parents, Daniel's parents, or Jonas's parents. But for the content pages, we could create aliases (like "Bree (tag)"), but I don't really like that idea. There might be another way to do it, but I can't think of any right now. Any ideas?--Jonpro 21:58, 13 March 2007 (CDT)
Hi Jonpro, I like your Tag template. For pages like ceremony though, which should ideally be linking to a content page would we still want to have the tag template at the bottom?
Also, ceremony should probably be a disambiguation page. You might be looking for/interested in The Ceremony (video), Site of the ceremony (fake ceremony, that is), or The Ceremony (ritual).
I think you're right that ceremony should be a disambig page. I just used that as an example since it already redirected to The Ceremony (ritual). For a page like that (a disambig page), the template would go on the bottom of the page replacing {{disambig}}. For a content page like Bree, it would also be added to the bottom of the page, but just as {{tag}}, not {{tag|disambig}}. Does that answer your question?--Jonpro 11:24, 14 March 2007 (CDT)

Strange parameter

So, apparently there's this thing called the "job queue" which means that the moment I make a change to a template, not every page that uses that template will be updated instantaneously. That explains a lot.... Anyway, I think I got the template right and it now works for strange tags. There's probably a better way to code it, but it works so I'm not going to worry about it.--Jonpro 18:10, 2 April 2007 (CDT)

Expanding functionality

Okay, I've noticed that Zoey has been creating pages for tags of unofficial videos which I think we decided we weren't going to do (don't worry about it--easy mistake). But that got me thinking that perhaps it wouldn't be so bad to do that anyway. This template could be expanded to include the series associated with the tag (i.e. LG15 official series, NBR, OpAphid, etc.) Also, I think the template just needs some general improvement anyway. What I'm thinking might look something like this:

{{tag
|disambig = yes/no
|strange  = yes/no
|page     = ASSOCIATED PAGE NAME
|series   = SERIES NAME
}}

What would be even cooler is to have something that expands when you click on it to show all of the videos that have the tag. Template:VidExpand anyone? Oh, and I'm not sure how this template would handle a tag that's in more than one series (like lonelygirl15 which is a tag of many videos). Maybe instead of

|series   = SERIES NAME

we could have

|LG15     = yes/no
|NBR      = yes/no
|OpAphid  = yes/no
etc.

I'm not really sure what's best. Are there any thoughts on the idea or especially suggestions on the best way to do it? I'd love to hear everyone's thoughts.--Jonpro 21:35, 11 April 2007 (CDT)

Yeah, sorry about that. I wasn't sure how to handle those tags, but I noticed that a lot of Nikki B's tags were 'tagged' prior to my edits, so I figured I would just update the rest to match. I do think it would be neat to be able to differentiate between the series. As far as how to handle it though, I'm not really sure. I do think it would be nice to differentiate between the series but also be able see them all on one page. Is there any way we could have the "What Links Here" page sort them by series? I think it would be a hassle to have each series listed individually though. I'm thinking it would be a pain in the rear to go back and change it if/when anything new was ever added.. like a new ARG, or Nikki-esque spin-off. I'm not 100% familiar with the way Wikis work yet, but I would personally not like to have to be the one to go back and change ALL the tags. So yeah, my first vote is for the What Links Here page to organize the videos by series/series type (if possible).--Zoey 21:49, 11 April 2007 (CDT)
Hmmm, I like the idea but "What links here" is an automatically generated list that we can't really do anything with as far as I know. You're right that it probably will be a major pain adding any kind of information because of the sheer number of tags that we have. I could have the LGBot do some of it, but that has its limitations. What it could definitely do is change all {{tag|disambig}} to {{tag|disambig=yes}} and things like that. I'm not sure it would be too hard to list all of the series because there really aren't that many. Adding new series as they come out wouldn't be too much of a hassle either. The main issue again is just adding all the information.--Jonpro 21:57, 11 April 2007 (CDT)
I have never used this myself, but DynamicPageList2 with order=descending and ordermethod=firstedit might help?
On a different note, series = $seriesname should work to change the styling through a switch directive, meaning the tag-template could look different for Nikki B than it does for LG15 - having seperate booleans, on the other hand, could be used to add a header with icons that light up for the series chosen. (As in:
|-----------------------------------------------------------------------------------|
| LG15 | OpAphid | Rndm ARG | NikkiB | Rndm Vlog | Rndm Vlog | Breepr0n | Rndm Vlog |
|-----------------------------------------------------------------------------------|
|   This tag ("fish taco") is majorly cool and used by LG15, Nikki B and OpAphid    |
|-----------------------------------------------------------------------------------|

) I'll be done earlier with Uni tomorrow, so if you say something tonight, I could code it tomorrow.

~ Renegade (talk | contribs) 14:03, 12 April 2007 (CDT)
I looked at the Dynamic Page List thing and it looks like that could be really useful. We might be able to use something like
<DPL>
category=LG15 videos
linksto={{FULLPAGENAME}}
</DPL>
to generate a list of videos that have a certain tag. I really don't know how all these things work though, so you should probably do whatever seems best. I really like the idea of the series lighting up depending on the bool values. If you want to go ahead and work on it, that'd be great. Thanks!--Jonpro 17:50, 12 April 2007 (CDT)