Hi Andy
> Are there any plugins for TiddlyWiki that make it possible to use
> categories in a similar way to how they are used in MediaWiki? I want to
> organize tiddlers using categories and subcategories.
Yes I think so (I haven't really used MediaWiki much - so I might be
wrong...).
There are in fact several options/plugins which can help you create
lists based on tags.
Let's start with the coreplugin "list filter macro".
If you write: <<list filter [tag[category]]>> you'll get a bulleted
list showing titles/links to all tiddlers tagged with "category"..
You can create a "taggly list" with a template which will show
category titles *and* all tiddlers tagged with that category.:
In a tiddler called TagglyList write:
<<list filter [tag[category]] template:TagglyList##template>>/%
!template
<<view title link>><<tagging>>
!end %/
If you want you can show what tags are assigned to category tiddlers
as well:
In a tiddler called TagglyList write:
<<list filter [tag[category]] template:TagglyList##template>>/%
!template
|>| <<view title link>> |
|<<tagging>>|<<tags>>|
!end %/
If you want even more control you can install TagglyTaggingPlugin
http://mptw.tiddlyspot.com/#TagglyTaggingPlugin and write:
<<tagglyTagging category>> to show all tiddlers tagged with category
and if you put <<tagglyTagging CategoryTitle>> into each category
tiddler you will be able to see a list of all tiddlers tagged with
that category in your first tiddler - otherwise you will only be able
to see a number indicating how many tiddlers that are tagged with the
title of a category...
You can mix the core's list filter macro with the TagglyTagging macro
via a template like this:
In a tiddler called TagglyList write:
<<list filter [tag[category]] template:TagglyList##template>>/%
!template
<<view title link>><<tagglyTagging>>
!end %/
It's quite powerfull because you will be able to open/view the
contents of every individual tiddler from a category directly in the
category list...
A third option is to install Jacks TiddlerListMacro.
It will provide an option to create an alphabetic list of all tiddlers
tagged with a category - in a style very similar to that used by
WikiPedia:
http://sites.google.com/site/jackparke/jtw.html
I'm using it here:
http://mmpedia.tiddlyspace.com/
There are even more ways to do it -> ForEachTiddlerPlugin
http://tiddlywiki.abego-software.de/#ForEachTiddlerPlugin
will alow you to style lists any way you want.... Check out examples:
http://tiddlywiki.abego-software.de/#ForEachTiddlerExamples
Cheers Måns Mårtensson