<% Story.topic %>
macro renders the name of the topic this story belongs to either as link, image (if an image entiteld by the topic name is available) or plain text

Sourcecode in Story/macros.js:
1:   function topic_macro(param) {
2:      if (!this.topic || !this.online)
3:         return;
4:      if (!param.as || param.as == "text")
5:         res.write(this.topic);
6:      else if (param.as == "link") {
7:         Html.link({href: path.Site.topics.href(this.topic)},
8:                   param.text ? param.text : this.topic);
9:      } else if (param.as == "image") {
10:        if (!param.imgprefix)
11:           param.imgprefix = "topic_";
12:        var img = getPoolObj(param.imgprefix + this.topic, "images");
13:        if (!img)
14:           return;
15:        Html.openLink({href: path.Site.topics.href(this.topic)});
16:        renderImage(img.obj, param)
17:        Html.closeLink();
18:     }
19:     return;
20:  }