Item5963: Tagmeplugin enhancement: prefix & suffix
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
Enhancement to Tag Me Plugin: prefix and suffix
I have added simple options to the
"showalltags"
action:
|
prefix="..."
| Printed before the list of tags if it is not empty,
$n
can be used for newlines. e.g:
prefix="Tags: <i>"
|
""
|
|
suffix="..."
| Printed after the list of tags if it is not empty,
$n
can be used for newlines. e.g:
suffix="</i>"
|
""
|
This allows to not show anything, useful on public sites, and to only show tags on "content" pages, not admin ones.
See
http://twiki.org/cgi-bin/view/Plugins/TagMePluginDe, comments at 22 Aug 2008
--
TWiki:Main/ColasNahaboo - 26 Aug 2008
Sven wrote:
mmm, I suspect that these should be called header and footer - to be
consistent with other TML (SEARCH seems to have header, I thought it had
footer..)
This is going to become more important once the extract formatting
twiki5 feature is done - consistency will become simpler
I deliberately chose another name, as it seems to have different semantics:
header/footer is always added (and even in the middle of subparts)
prefix and suffis is only added is the content is nonempty
But you are right, I may be splitting hairs here (and raising the nerdometer :-).
By grepping, it seems that only the Twisty and Skills plugins use prefix/suffix names.
I will make it header/footer
--
TWiki:Main.ColasNahaboo - 27 Aug 2008
This has long been implemented.
--
ArthurClemens - 22 May 2012