]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/tag.mdwn
(no commit message)
[ikiwiki.git] / doc / plugins / tag.mdwn
1 [[!template id=plugin name=tag author="[[Joey]]"]]
2 [[!tag type/tags type/link]]
3
4 This plugin provides the [[ikiwiki/directive/tag]] and 
5 [[ikiwiki/directive/taglink]] [[directives|ikiwiki/directive]].
6 These directives allow tagging pages.
7
8 It also provides the `tagged()` [[ikiwiki/PageSpec]], which can be used to
9 match pages that are tagged with a specific tag.
10
11 The `tagbase` setting can be used to make tags default to being put in a
12 particular subdirectory.
13
14 The `tag_autocreate` setting can be used to control whether new tag pages
15 are created as needed. It defaults to being done only if a `tagbase` is
16 set.
17
18 The `tag_autocreate_commit` setting is enabled by default, and causes
19 new tag pages to be checked into version control.
20
21 [[!if test="enabled(tag)" then="""
22 This wiki has the tag plugin enabled, so you'll see a note below that this
23 page is tagged with the "tags" tag.
24 """]]