1 [[template id=plugin name=tag author="[[Joey]]"]]
2 [[tag type/tags type/link]]
4 This plugin allows tagging pages. List tags as follows:
6 \[[tag tech life linux]]
8 The tags work the same as if you had put a (hidden) [[ikiwiki/WikiLink]] on
9 the page for each tag, so you can use a [[ikiwiki/PageSpec]] match all
10 pages that are tagged with a given tag, for example. The tags will also
11 show up on blog entries and at the bottom of the tagged pages, as well as
12 in RSS and Atom feeds.
14 If you want a visible [[ikiwiki/WikiLink]] along with the tag, use taglink
18 \[[taglink tagged_as_foo|foo]]
20 This plugin has a configuration option. Set --tagbase=tags and links to tags
21 will be located under the specified base page. If ikiwiki is configured
22 this way, then the example above actually tags the page with the tags
23 tags/tech, tags/life, and tags/linux. This is a useful way to avoid
24 having to write the full path to tags, if you want to keep them grouped
25 together out of the way.
27 [[if test="enabled(tag)" then="""
28 This wiki has the tag plugin enabled, so you'll see a note below that this
29 page is tagged with the "tags" tag.