[pmwiki-users] Is there a note plugin?
pmwiki at 911networks.com
pmwiki at 911networks.com
Tue Jun 6 19:55:06 CDT 2006
Ben Wilson wrote:
> On 6/6/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>> On Tue, Jun 06, 2006 at 11:00:01AM -0700, pmwiki at 911networks.com wrote:
>>> Hi,
>>>
>>> I am trying to convert a Dokuwiki to PM, is there a receipe
>>> equivalent to the Dokuwiki plugin:note
>>>
>>> http://wiki.splitbrain.org/plugin:note
>>>
>>> BTW, this make for a great look.
>> It can be done with >>div<< statements:
>>
>> %define=note bgcolor=#ddddff rfloat%
>>
>> >>note<<
>> Here's a simple note
>> >><<
>>
Is there a way to place a small icon in it? Then it would be
almost perfect. The {{critical..}} would be perfect.
>> Fancier things are of course possible by adding to the wikistyle
>> definition. It would be interesting to come up with various
>> background definitions that would also work.
>
> I think what's sought is something where you say "{{critical}}" and it
> is converted to the expanded note. This is used in M&#!@Wiki as well.
> The "solution" may be as simple as having a variable ($FmtV):
>
> {$NoteCritical}
>
> Then, the markup, et al. is available without having to add the
> remaining language. One could even have a category flag in the
> {$NoteCritical} variable assignment:
>
> $FmtV['$NoteCritical'] =<<<NoteCritical
>>> notecritical<<
> Ceci est une note critique. Blaheux, Blaheux, Blaheux
>
> [[!NoteCritical]]
> NoteCritical;
>
That would be outstanding.
--
Thanks
http://www.911networks.com
More information about the pmwiki-users
mailing list