2008-07-15 23:04:10 +02:00
|
|
|
[[!tag patch]]
|
|
|
|
|
|
|
|
[[plugins/map]] (and I) could benefit from a bonus parameter:
|
|
|
|
|
2008-07-15 23:06:05 +02:00
|
|
|
else="Display this if no page matches the PageSpec"
|
2008-07-15 23:04:10 +02:00
|
|
|
|
|
|
|
This was quite simple, so I implemented this (branch "map" in my
|
|
|
|
ikiwiki repo, see my user page for the up-to-date URL). Not patched the
|
|
|
|
documentation yet, I'm waiting for feedback first, but I'll do it for sure. -- [[intrigeri]]
|
2008-07-16 23:58:36 +02:00
|
|
|
|
|
|
|
> Can't a [[plugins/conditional]] be for this?
|
|
|
|
> --[[Joey]]
|
2008-07-18 01:31:32 +02:00
|
|
|
|
|
|
|
>> Hmmm, what do you mean? Adding a syntax such as the one below?
|
|
|
|
>> Or something else?
|
|
|
|
|
|
|
|
\[[if test="map(" then="..." else="..."]]
|
|
|
|
|
|
|
|
>> What would you write in the `then` clause?
|
|
|
|
>> I'm not opposed at all to rewrite my two-liner, but I don't understand.
|
|
|
|
>> --[[intrigeri]]
|