1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-30 09:13:16 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/macros/TagMacro.tid

18 lines
767 B
Plaintext
Raw Normal View History

2014-12-06 13:44:08 +00:00
caption: tag
created: 20141206130540337
modified: 20230725201240201
tags: Macros [[Core Macros]]
title: tag Macro
2014-12-06 13:44:08 +00:00
type: text/vnd.tiddlywiki
2022-07-19 18:10:39 +00:00
The <<.def tag>> [[macro|Macros]] generates a tag pill for a specified tag. Clicking the tag pill opens a dropdown. This can be compared to the [[tag-pill Macro]] which also features other parameters.
2014-12-06 13:44:08 +00:00
<<.tip """If a [[list widget|ListWidget]] generates multiple tag macros for the same tag, clicking on one of them will open dropdowns on all of them. The simplest way to prevent this is to add the `counter="transclusion"` attribute to the list widget. See the examples below for more details.""">>
!! Parameters
2014-12-06 13:44:08 +00:00
;tag
: The title of the tag, defaulting to the [[current tiddler|Current Tiddler]]
2014-12-06 13:44:08 +00:00
<<.macro-examples "tag">>