Posted 1259572641|%O ago by James Kanjo
Tags are becoming more and more essential in the world of Wikidot Applications. Because of this, we need to improve the ease of using these applications by automating some of the tagging processes.
[[tag ...]]
Argument | Meaning |
---|---|
text | Displays the specified text on the button |
class | If specified, it overrides the default class. Behaves the same as the class attribute for the Join module |
add | Adds the specified tags to the page |
minus | Minuses the specified tags to the page |
invert | Adds the tags that aren't on the page and minuses the tags that are |
all | Changes all of the page's tags to the specified tags |
[[tags text="Close bug" minus="_open" add="_closed"]]
[[iftags -_deleted]]Move to[[/iftags]][[iftags _deleted]]Restore from[[/iftags]]
[[tags text="trash" invert="_deleted"]]
I get the impression that the projects site is meant to be used for designs now, even new ones. Very confusing.
Back on topic though: Looks good IMO. "invert" is a little bit confusing but using your example I understand why you want it. Needs a class attribute, which I'll add now.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Yes, I agree that it's confusing. What do you suggest? Move this wiki to the projects site? Or create a thread there for Speculation / Concepts? (Since we can subthread to any level…)
Portfolio
I'm not sure about suggestions. Let's go with that link you posted on the projects site (thread:191) and see how it works out.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
I've started a new area on the projects wiki, http://projects.wikidot.com/thread:191
I'd suggest moving this and other in-progress concepts there as subthreads.
Portfolio
We don't even need the second example because it can be produced using similar syntax to the first example.
So as a bare minimum, the first should be implemented.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
I think as a bare minimum the "all" operator should be made first. From here you can add tags to the current tag list with this syntax: [[tags all="%%tags%% newtag1 newtag2"]]