WikiIndex talk:How do categories work: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(they're both just shorthand for the same code)
 
(24 intermediate revisions by 9 users not shown)
Line 1: Line 1:
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)
{{Talk header}}{{TOC right}}
==[[Template:Tag|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]] | <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)
==tag / category news==
==Difference between tag and category==
*The [[Template:Tag]] <code><nowiki>{{tag|CATEGORYNAME}}</nowiki></code> command works fine in-line.  You can use this when wanting to link to a [[Special:Categories|category]] from within the description.
Is there any? [[User:Robin Patterson|robinp]] 17:14, 12 Feb 2006 (EST)
*The MediaWiki category feature <code><nowiki>[[Category:CATEGORYNAME]]</nowiki></code> can be used for any <s>tags</s> categories that do not appear in the text.  These categories go at the end of the entry.


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)
::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>


: It turns out tha Tags and Categories act diffently in some situations. Look at their use within the "Category:" namespace. 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":
#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 <tt><nowiki>[[:category:all]]</nowiki></tt>.  
[[User:Robin Patterson|robinp]] 16:16, 4 Apr 2006 (EDT)


:: What?  How are they different? The templates are identical.  Maybe we're needlessly confusing things by our naming. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 15:44, 16 Feb 2006 (EST)
:: 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 <tt><nowiki>{{tag|CATEGORYNAME}}</nowiki></tt> in the description text.  If the term doesn't appear in the text, then just use <tt><nowiki>[[Category:CATEGORYNAME]]</nowiki></tt> at the end, as usual. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 17:04, 4 Apr 2006 (EDT)


: You and I had the experience of them working differently within a category.  If you change them within a category you will see that they are or are not in the automated category bar at the bottom of the page. Also I thought they were an issue for the recursive issue? [[MarkDilley]] | <small>[[User talk:MarkDilley|talk]]</small>
==CamelCase==
Is using [[CamelCase]] still necessary for naming the categories? Personally, I've been blithely breaking this rule. Does this break something for someone somewhere down the line? Or is this a legacy instruction? --[[User:MarvelZuvembie|MarvelZuvembie]] 21:30, 8 October 2009 (EDT)


:: I don't think so. [[Template:Tag]] and [[Template:Category]] are exactly the same. They're both just sorthand for
:At the time when I wrote this, I was unaware of the history of CamelCase in wikis. Having started out on [[English Wikipedia|Wikipedia]], I have tended to emulate that style and thus avoid CamelCase, as well as the gratuitous use of uppercase letters. But, even though it feels wrong to me stylistically, I now see why we would want to keep this tradition alive. And on the practical side, using this convention might help us avoid category duplication such as we have with "[[:Category:Open source|open source]]":
:*Category:OpenSource
:*Category:Open source
:*Category:Open Source
:However, fixing all the categories which I have created which do not follow this model will be fairly labor-intensive. Hopefully, someone knows how to use a bot to do it. --[[User:MarvelZuvembie|MarvelZuvembie]] 15:17, 15 March 2010 (EDT)


<pre>
==Categories not working?==
[[:Category:TAGNAME|TAGNAME]] [[Category:TAGNAME]]  
[[Argumentrix]] is in several categories but isn't listed within them. What's up with that? Did I do something wrong? [[Special:Contributions/76.100.115.189|76.100.115.189]]
</pre>
 
:: [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 16:00, 16 Feb 2006 (EST)
: The way you added categories to the [[Argumentrix]] page at WikiIndex looks correct to me. They show up at the bottom of the page in the "Categories:" line, and when I click on each of them, I see "Argumentrix" listed properly on each category page. Perhaps a recent upgrade fixed whatever the problem was. If you see it again, please tell us about it. --[[User:DavidCary|DavidCary]] ([[User talk:DavidCary|talk]]) 07:24, 17 March 2013 (PDT)

Latest revision as of 21:12, 19 December 2022

this talk page is for discussing improvements to the WikiIndex:How do categories work article

tag template or category[edit]

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[edit]

  • 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 categories 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[edit]

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)

CamelCase[edit]

Is using CamelCase still necessary for naming the categories? Personally, I've been blithely breaking this rule. Does this break something for someone somewhere down the line? Or is this a legacy instruction? --MarvelZuvembie 21:30, 8 October 2009 (EDT)

At the time when I wrote this, I was unaware of the history of CamelCase in wikis. Having started out on Wikipedia, I have tended to emulate that style and thus avoid CamelCase, as well as the gratuitous use of uppercase letters. But, even though it feels wrong to me stylistically, I now see why we would want to keep this tradition alive. And on the practical side, using this convention might help us avoid category duplication such as we have with "open source":
  • Category:OpenSource
  • Category:Open source
  • Category:Open Source
However, fixing all the categories which I have created which do not follow this model will be fairly labor-intensive. Hopefully, someone knows how to use a bot to do it. --MarvelZuvembie 15:17, 15 March 2010 (EDT)

Categories not working?[edit]

Argumentrix is in several categories but isn't listed within them. What's up with that? Did I do something wrong? 76.100.115.189

The way you added categories to the Argumentrix page at WikiIndex looks correct to me. They show up at the bottom of the page in the "Categories:" line, and when I click on each of them, I see "Argumentrix" listed properly on each category page. Perhaps a recent upgrade fixed whatever the problem was. If you see it again, please tell us about it. --DavidCary (talk) 07:24, 17 March 2013 (PDT)