Template talk:Tag: Difference between revisions
Hoof Hearted (talk | contribs) ({{TOCright}}, tidy (rv whitespace, fix spelling), wikilinks) |
|||
Line 1: | Line 1: | ||
This template is for inline tags. If you don't want tags to show up on the page at all, just put the <nowiki>[[ | {{TOCright}} | ||
==Useage== | |||
This [[:Category:Templates|template]] is for <u>inline</u> tags. If you don't want tags to show up on the page at all, just put the <nowiki>[[Category:Whatever]]</nowiki> at the bottom of the page. [[User:TedErnst|TedErnst]] 21:37, 22 Jan 2006 (EST) (edited to bring up to date [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 17:54, 27 October 2006 (EDT)) | |||
:I think these tags are not really wonderful, you have to use the name of the category within the text, that's stupid. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 14:20, 27 October 2006 (EDT) | :I think these tags are not really wonderful, you have to use the name of the [[Special:Categories|category]] within the text, that's stupid. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 14:20, 27 October 2006 (EDT) | ||
:: If the name of the category you want appears on the page, use the tag template. If not, they just use a standard category at the bottom of the page. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 17:52, 27 October 2006 (EDT) | ::If the name of the category you want appears on the page, use the tag template. If not, they just use a standard category at the bottom of the page. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 17:52, 27 October 2006 (EDT) | ||
:Take a tour to what | :Take a tour to what links to this template [[Special:Whatlinkshere/Template:Tag]]: there are pages that mainly belong to [[Special:WantedCategories|non-existing categories]]. In my opinion this (at first glance) helpful template generates much work. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 17:34, 27 October 2006 (EDT) | ||
:: I'm not understanding how it creates more work. Could you please say more? | ::I'm not understanding how it creates more work. Could you please say more? | ||
: Ted, sometimes you have to create the cats and link it to ''existing'' cats, otherwise you cannot find them without visiting the categorized wiki page itself, or looking on wanted cats. The categorization is only useful if it make at least one hierarchical tree. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 18:10, 27 October 2006 (EDT) | :Ted, sometimes you have to create the cats and link it to ''existing'' cats, otherwise you cannot find them without visiting the categorized wiki page itself, or looking on wanted cats. The categorization is only useful if it make at least one hierarchical tree. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 18:10, 27 October 2006 (EDT) | ||
:: I disagree. Redlink categories are just fine, because they're tags. Like tags at del.icio.us - we decided on purpose here not to impose a hierarchical category structure - of course one might emerge, but there's no reason to enforce any kind of scheme at this point - I'd guess at least half our | ::I disagree. [[Special:WantedCategories|Redlink categories]] are just fine, because they're tags. Like tags at del.icio.us - we decided on purpose here not to impose a hierarchical category structure - of course one might emerge, but there's no reason to enforce any kind of scheme at this point - I'd guess at least half our [[wiki]]s don't have [[Special:Categories|categories]] at all - that would be really useful work, tagging everything - then if some semblance of structure emerges from that, great! The idea is to be bottom-up. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 20:46, 27 October 2006 (EDT) | ||
: I fully agree with your '''buttom-up''' point of view, but I began using the MediaWiki software with German contents, there you have much extra typing with the more complicated grammar (the same as in | :I fully agree with your '''buttom-up''' point of view, but I began using the [[:Category:MediaWiki|MediaWiki]] software with [[:Category:Wiki German|German]] contents, there you have much extra typing with the more complicated grammar (the same as in [[:Category:Wiki Russian|Russian]], [[:Category:Wiki French|French]] etc.) therefore I type often things like <tt><nowiki>"des [[Deutscher Bundestag|Deutschen Bundestages]]"</nowiki></tt> in such cases the tags would lead to grammatically malformed sentences or eccentric word orders (how can [[WikiIndex]] be (or become) [[:category:Multilingual|Multilingual]] with such english-only tags)... a parameterized "Tag" tag, on the other hand, would be more complicated than the original WikiMedia-style category tags. With the '''[[Special:WantedCategories|red links]]''' ''I'' have absolutely no problem, but the visitor of WikiIndex, who wants to find a wiki in his/her language, needs some topic help. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 07:42, 28 October 2006 (EDT) | ||
:: Ah, I see what you're getting at. The tag template is not required. If it doesn't work well in German, than feel free to just use the standard | ::Ah, I see what you're getting at. The tag template is not required. If it doesn't work well in German, than feel free to just use the standard MediaWiki category function. If some more explanation needs to be written, okay, we can do that. Tags are fully optional, as are categories, for that matter. At least that's how I see it. What about you? [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 09:35, 28 October 2006 (EDT) | ||
::: Ok, they are optional and do their work for keep typing small. I see Smiddle has already added the new parameters I talked about, and the template seems "less" trivial then before, as I expected. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 14:27, 28 October 2006 (EDT) | :::Ok, they are optional and do their work for keep typing small. I see Smiddle has already added the new parameters I talked about, and the template seems "less" trivial then before, as I expected. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 14:27, 28 October 2006 (EDT) | ||
==smiddle's additional parameters== | |||
Could someone please explain [http://www.wikiindex.com/index.php?title=Template:Tag&curid=2577&diff=33835&oldid=15714&rcid=35300 this change] to me? Thank you. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 14:21, 29 October 2006 (EST) | Could someone please explain [http://www.wikiindex.com/index.php?title=Template:Tag&curid=2577&diff=33835&oldid=15714&rcid=35300 this change] to me? Thank you. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 14:21, 29 October 2006 (EST) | ||
: I'll try it: | :I'll try it: | ||
<nowiki>[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]][[Category:{{{1}}}|{{{3|{{FULLPAGENAME}}}}}]]</nowiki> | <nowiki>[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]][[Category:{{{1}}}|{{{3|{{FULLPAGENAME}}}}}]]</nowiki> | ||
lets explode it a little: | lets explode it a little: | ||
Line 31: | Line 32: | ||
the '''first part''' displays an optional alternative text with the second parameter (the pipe means: take parameter #2, if not present, default to parameter #1) | the '''first part''' displays an optional alternative text with the second parameter (the pipe means: take parameter #2, if not present, default to parameter #1) | ||
the '''second part''' categorizes the page to the category named by parameter #1, if an alternative ordering in the auto index of the category page is needed, you can define the sorting key with parameter #3, if not the full page name will be used (this is the normal cat order behavior). Yes, I hate the MediWiki template syntax too, although I'm am a programmer because it's like typing machine code. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 14:54, 29 October 2006 (EST) | the '''second part''' categorizes the page to the [[Special:Categories|category]] named by parameter #1, if an alternative ordering in the auto index of the category page is needed, you can define the sorting key with parameter #3, if not the full page name will be used (this is the normal cat order behavior). Yes, I hate the MediWiki template syntax too, although I'm am a programmer because it's like typing machine code. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 14:54, 29 October 2006 (EST) | ||
How about an example or two? I still have no idea here. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 16:28, 29 October 2006 (EST) | How about an example or two? I still have no idea here. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 16:28, 29 October 2006 (EST) | ||
: Ted, here is an [[WikiIndex:Sandbox# | :Ted, here is an [[WikiIndex:Sandbox#example of new smiddle-parametrized tag template|example for you]]. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 16:40, 29 October 2006 (EST) | ||
These additional parameters are adding complication. Is there some clear benefit WikiIndex is getting from that complication? If so, could we please make it clear in writing? If not, let's revert back to the simple version. We want to make this place as simple as possible for people to edit, and the more complicated it gets, the less simple it is (obviously). And if we're going to keep this, it's needs clear documentation! [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 11:37, 30 October 2006 (EST) | ===complication, usefulness and documentation=== | ||
:I can revert this and make a template called {{ns link|template|tag adv}} to solve it. <span title="Swedish n-dash FTW!">–</span> [[User:Smiddle|Smiddle]] / <small>[[User talk:Smiddle|T]]·[[Special:Contributions/Smiddle|C]]·[[Special:Emailuser/Smiddle|@]]</small> 13:25, 30 October 2006 (EST) | These additional parameters are adding complication. Is there some clear benefit [[WikiIndex]] is getting from that complication? If so, could we please make it clear in writing? If not, let's revert back to the simple version. We want to make this place as simple as possible for people to edit, and the more complicated it gets, the less simple it is (obviously). And if we're going to keep this, it's needs clear documentation! [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 11:37, 30 October 2006 (EST) | ||
:I can revert this and make a [[:Category:Templates|template]] called {{ns link|template|tag adv}} to solve it. <span title="Swedish n-dash FTW!">–</span> [[User:Smiddle|Smiddle]] / <small>[[User talk:Smiddle|T]]·[[Special:Contributions/Smiddle|C]]·[[Special:Emailuser/Smiddle|@]]</small> 13:25, 30 October 2006 (EST) |
Revision as of 13:33, 31 December 2011
Useage
This template is for inline tags. If you don't want tags to show up on the page at all, just put the [[Category:Whatever]] at the bottom of the page. TedErnst 21:37, 22 Jan 2006 (EST) (edited to bring up to date TedErnst | talk 17:54, 27 October 2006 (EDT))
- I think these tags are not really wonderful, you have to use the name of the category within the text, that's stupid. --Peu | talk 14:20, 27 October 2006 (EDT)
- Take a tour to what links to this template Special:Whatlinkshere/Template:Tag: there are pages that mainly belong to non-existing categories. In my opinion this (at first glance) helpful template generates much work. --Peu | talk 17:34, 27 October 2006 (EDT)
- I'm not understanding how it creates more work. Could you please say more?
- Ted, sometimes you have to create the cats and link it to existing cats, otherwise you cannot find them without visiting the categorized wiki page itself, or looking on wanted cats. The categorization is only useful if it make at least one hierarchical tree. --Peu | talk 18:10, 27 October 2006 (EDT)
- I disagree. Redlink categories are just fine, because they're tags. Like tags at del.icio.us - we decided on purpose here not to impose a hierarchical category structure - of course one might emerge, but there's no reason to enforce any kind of scheme at this point - I'd guess at least half our wikis don't have categories at all - that would be really useful work, tagging everything - then if some semblance of structure emerges from that, great! The idea is to be bottom-up. TedErnst | talk 20:46, 27 October 2006 (EDT)
- I fully agree with your buttom-up point of view, but I began using the MediaWiki software with German contents, there you have much extra typing with the more complicated grammar (the same as in Russian, French etc.) therefore I type often things like "des [[Deutscher Bundestag|Deutschen Bundestages]]" in such cases the tags would lead to grammatically malformed sentences or eccentric word orders (how can WikiIndex be (or become) Multilingual with such english-only tags)... a parameterized "Tag" tag, on the other hand, would be more complicated than the original WikiMedia-style category tags. With the red links I have absolutely no problem, but the visitor of WikiIndex, who wants to find a wiki in his/her language, needs some topic help. --Peu | talk 07:42, 28 October 2006 (EDT)
- Ah, I see what you're getting at. The tag template is not required. If it doesn't work well in German, than feel free to just use the standard MediaWiki category function. If some more explanation needs to be written, okay, we can do that. Tags are fully optional, as are categories, for that matter. At least that's how I see it. What about you? TedErnst | talk 09:35, 28 October 2006 (EDT)
smiddle's additional parameters
Could someone please explain this change to me? Thank you. TedErnst | talk 14:21, 29 October 2006 (EST)
- I'll try it:
[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]][[Category:{{{1}}}|{{{3|{{FULLPAGENAME}}}}}]]
lets explode it a little:
[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]] (the first part is visible within the floating text)
[[Category:{{{1}}}|{{{3|{{FULLPAGENAME}}}}}]] (the second part works for categorization)
the first part displays an optional alternative text with the second parameter (the pipe means: take parameter #2, if not present, default to parameter #1)
the second part categorizes the page to the category named by parameter #1, if an alternative ordering in the auto index of the category page is needed, you can define the sorting key with parameter #3, if not the full page name will be used (this is the normal cat order behavior). Yes, I hate the MediWiki template syntax too, although I'm am a programmer because it's like typing machine code. --Peu | talk 14:54, 29 October 2006 (EST)
How about an example or two? I still have no idea here. TedErnst | talk 16:28, 29 October 2006 (EST)
- Ted, here is an example for you. --Peu | talk 16:40, 29 October 2006 (EST)
complication, usefulness and documentation
These additional parameters are adding complication. Is there some clear benefit WikiIndex is getting from that complication? If so, could we please make it clear in writing? If not, let's revert back to the simple version. We want to make this place as simple as possible for people to edit, and the more complicated it gets, the less simple it is (obviously). And if we're going to keep this, it's needs clear documentation! TedErnst | talk 11:37, 30 October 2006 (EST)