aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/What__39__s_the_difference_between_tag_and_taglink__63__/comment_1_b3553d65d12af4c4a87f1f66f961c8d9._comment
blob: 23944451683eeff86475331395c395c55676e701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[[!comment format=mdwn
 username="http://smcv.pseudorandom.co.uk/"
 nickname="smcv"
 subject="comment 1"
 date="2012-08-19T15:05:35Z"
 content="""
`\[[!tag]]` does not produce any output in the body of the page, but
stores an invisible tag (which, in the default templates, gets displayed
in the footer of the page).

For instance, this

    Here is some text about badgers
    \[[!tag badger]]

or this

    \[[!tag badger]]
    Here is some text about badgers

or even this

    Here is some text about \[[!tag badger]]badgers

will all come out like this:

    Edit | RecentChanges | etc.
    ----
    Here is some text about badgers
    ----
    tags: badger

`\[[!taglink]]` produces a [[ikiwiki/WikiLink]] in the body of the
page, *and* stores an invisible tag like `\[[!tag]]`.

So this:

    Some text about \[[!tag mushrooms]] and toadstools

renders like this

    Edit | RecentChanges | etc.
    ----
    Some text about _mushrooms_ and toadstools
    ----
    tags: mushrooms

where `_mushrooms_` represents a hyperlink.
"""]]