WikiIndex talk:How do categories work: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
("You can use these when wanting to link to a category from within the description":)
(cleaning up)
Line 1: Line 1:
== footer/inline ==
== tag template or category ==
If you do it this way with that footer, then we don't need the tag template at all.  We just put the categories in anywhere on the page.  The tag template is only used when we want the category to show up on the page, the way John's been talking about.  peace, [[User:TedErnst|TedErnst]] 21:32, 22 Jan 2006 (EST)
Use tag or category template when you want it to show in the article in addition to the bottom category section, else normal category command is fine --[[Raymond King]] | <small>[[User talk:Rathbone|talk]]</small> 17:34, 12 Feb 2006 (EST)
 
Yes, that's right, use tag or category template when you want it to show in the article in addition to the bottom category section, else normal category command is fine --[[Raymond King]] | <small>[[User talk:Rathbone|talk]]</small> 17:34, 12 Feb 2006 (EST)
 
==Difference between tag and category==
Is there any? [[User:Robin Patterson|robinp]] 17:14, 12 Feb 2006 (EST)
 
No, in this wiki "tag" is a synonym for "category" and the "tag" and "category" templates are the same.  We did that because "category" sounds heirarchical whereas "tag" is not.  "tag" is also shorter and easier to use.  But I am concerned that the extra confusion isn't worth it and we should just stick to category since that's the mediawiki standard.  Thoughts welcome --[[Raymond King]] | <small>[[User talk:Rathbone|talk]]</small> 17:34, 12 Feb 2006 (EST)
 
: Ray, I'm not sure I agree.  In fact, I'd like to propose we get rid of the category template to better differentiate between inline tags (using the tag template) and mediawiki categories (using the category function) that only show up in the footer. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 22:40, 17 Feb 2006 (EST)


== tag/category news ==
== tag/category news ==
 
* The Template: Tag <pre>{{tag|CATEGORYNAME}}</pre> command works fine in-line.  You can use this when wanting to link to a category from within the description.
Okay, Mark and I have been working on this and here's what we've done.
* The mediawiki category feature <pre>[[Category:CATEGORYNAME]]</pre> can be used for any tags that do not appear in the text.  These categories go at the end of the entry.
 
* The Template: Tag <pre>{{tag|CATEGORYNAME}}</pre> and Template: Category <pre>{{category|CATEGORYNAME}}</pre> commands now should work fine in-line.  You can use these when wanting to link to a category from within the description.  If eliminating one of these is your desire, I'd suggest eliminating category, because of the next point.
 
* The mediawiki category feature <pre>[[Category:CATEGORYNAME]]</pre> can be used for any tags that do not appear in the text.  The suggestion is to use this instead of a bulleted list of tags.  The bulleted list of tags is not needed because all categories for a page show up in the footer anyway.
 
** This is where I propose placing [[Category:Foo]] above the template code, to get these types of categoriy in the footer before the template category, to push back redudant categories in the footer. (I like the redundancy in this instance, just want to bury it a little to highlight other info) [[MarkDilley]] | <small>[[User talk:MarkDilley|talk]]</small>
 
How's this sound?  Is it clear?  Is it a good idea?  [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 22:27, 17 Feb 2006 (EST)


: Bulleted list of tags is not necessary, but if someone wants to use them, there should be no problem with that. [[MarkDilley]] | <small>[[User talk:MarkDilley|talk]]</small>
: Bulleted list of tags is not necessary, but if someone wants to use them, there should be no problem with that. [[MarkDilley]] | <small>[[User talk:MarkDilley|talk]]</small>
:: That's fine with me, but we need to decie which one to use for the add a wiki boilerplate. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 22:33, 17 Feb 2006 (EST)
YES!  Ted, u da man!!!! -[[Raymond King]] | <small>[[User talk:Rathbone|talk]]</small> 02:07, 18 Feb 2006 (EST)
We we need to ratify this on the [http://www.wikiindex.com/Talk:Proposals#Proposal:_17-Feb-2006:_Tag_and_category_use proposals page]?  If so, can we do that?  If not, someone let me know and I'll update this [[How do categories work]] page. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 12:06, 18 Feb 2006 (EST)
Sure, the inline tagging or categorizing is good for sure.  Open items are where and when to use the word "tag" vs "category" and where to put the basic category commands, is that right? -[[Raymond King]] | <small>[[User talk:Rathbone|talk]]</small> 13:05, 18 Feb 2006 (EST)


== questions ==
I've read much of what has been added here since my last contribution. I'm puzzled at the sentence "You can use these when wanting to link to a category from within the description":
I've read much of what has been added here since my last contribution. I'm puzzled at the sentence "You can use these when wanting to link to a category from within the description":
#How do we use them?
#How do we use them?
#To "to link to a category from within the description" you just put a colon in front of it, eg [[:category:all]].  
#To "to link to a category from within the description" you just put a colon in front of it, eg [[:category:all]].  
[[User:Robin Patterson|robinp]] 16:16, 4 Apr 2006 (EDT)
[[User:Robin Patterson|robinp]] 16:16, 4 Apr 2006 (EDT)
:: Great question, Robin.  The point is that we're not just linking to the category, we're putting the page in question into that category as well.  We do that by simply using <nowiki>{{tag|CATEGORYNAME}}</nowiki> in the description text.  If the term doesn't appear in the text, then just use <nowiki>[[Category:CATEGORYNAME]]</nowiki> at the end, as usual. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 17:04, 4 Apr 2006 (EDT)

Revision as of 21:04, 4 April 2006

tag template or category

Use tag or category template when you want it to show in the article in addition to the bottom category section, else normal category command is fine --Raymond King | talk 17:34, 12 Feb 2006 (EST)

tag/category news

  • The Template: Tag
    {{tag|CATEGORYNAME}}
    command works fine in-line. You can use this when wanting to link to a category from within the description.
  • The mediawiki category feature
    [[Category:CATEGORYNAME]]
    can be used for any tags that do not appear in the text. These categories go at the end of the entry.
Bulleted list of tags is not necessary, but if someone wants to use them, there should be no problem with that. MarkDilley | talk

questions

I've read much of what has been added here since my last contribution. I'm puzzled at the sentence "You can use these when wanting to link to a category from within the description":

  1. How do we use them?
  2. To "to link to a category from within the description" you just put a colon in front of it, eg category:all.

robinp 16:16, 4 Apr 2006 (EDT)

Great question, Robin. The point is that we're not just linking to the category, we're putting the page in question into that category as well. We do that by simply using {{tag|CATEGORYNAME}} in the description text. If the term doesn't appear in the text, then just use [[Category:CATEGORYNAME]] at the end, as usual. TedErnst | talk 17:04, 4 Apr 2006 (EDT)