2006-06-02 06:49:12 +02:00
|
|
|
While ikiwiki supports hierarchically categorising pages by creating
|
2007-12-08 21:59:08 +01:00
|
|
|
[[SubPages|ikiwiki/SubPage]], that's often not flexible enough, and it can also be
|
|
|
|
useful to tag pages in various non-hierarchical ways.
|
2006-06-02 06:49:12 +02:00
|
|
|
|
2007-09-20 20:59:27 +02:00
|
|
|
Since this is a wiki, tagging is just a form of linking. The general rule
|
|
|
|
is that all tags are links, but not all links are tags. So a tag is a
|
|
|
|
special link that ikiwiki knows is intended to be used as a tag.
|
2006-06-02 06:49:12 +02:00
|
|
|
|
2007-09-20 20:59:27 +02:00
|
|
|
Generally you will tag a page without putting a visible link on it.
|
2006-07-27 23:38:02 +02:00
|
|
|
The [[tag_plugin|plugins/tag]] allows you to do so, like this:
|
2006-06-02 06:49:12 +02:00
|
|
|
|
2008-07-21 13:47:07 +02:00
|
|
|
\[[!tag mytag othertag thirdtag]]
|
2006-06-02 06:49:12 +02:00
|
|
|
|
2007-09-20 20:59:27 +02:00
|
|
|
You can also tag a page with a visible link:
|
|
|
|
|
2008-07-21 13:47:07 +02:00
|
|
|
\[[!taglink mytag]]
|
2007-09-20 20:59:27 +02:00
|
|
|
|
2007-12-09 02:04:18 +01:00
|
|
|
This tag will be displayed just like a regular [[ikiwiki/WikiLink]].
|
2007-09-20 20:59:27 +02:00
|
|
|
|
2008-09-12 01:39:05 +02:00
|
|
|
One way to use these tags is to create a [[blog]] of pages that have a
|
2006-06-02 06:51:26 +02:00
|
|
|
particular set of tags. Or just look at the [[BackLinks]] to a tag page to
|
|
|
|
see all the pages that are tagged with it. [[Plugins]] can be written to do
|
|
|
|
anything else with tags that you might desire.
|
2006-07-29 19:44:41 +02:00
|
|
|
|
|
|
|
Once you have tags, you can use the [[plugins/pagestats]] plugin to
|
|
|
|
generate tag clouds.
|