-----BEGIN PGP SIGNED MESSAGE-----
Moin,
On Wednesday 04 May 2005 03:56, Brion Vibber wrote:
Lars Aronsson wrote:
> Is the wiki syntax going anywhere? Did somebody start work to
> standardize it?
[snipabit]
What about
making a scripting language for template definitions,
so you can have conditions, loops and database fetches, almost
like PHP? {{x|y=x}} ::= if ($y) then "see also: $y";
I'm really leery of complex templating -- especially anything allowing
loops, that's a merry jaunt on the road to Denial of Service land.
But I would love to have at least default parameters:
With the following template:
<span style="color: {{{color}}}">{{{txt}}}</span>
you always have to specify color and text, e.g. this doesn't work:
{{color|txt=blue monday}}
Something like:
<span style="color: {{{color=blue}}}">{{{txt}}}</span>
?
Simple expressions (like {{{size+4}}}) would also be good, for things
like:
<span style="width: {{{size}}}; margin:
{{{width/10}}}">{{{txt}}}</span>
It doesn't need to be a full-fetched scripting language, which would only
open a whole lot of can of Überworms.
Best wishes,
Tels
- --
Signed on Wed May 4 09:28:00 2005 with key 0x93B84C15.
Visit my photo gallery at
http://bloodgate.com/photos/
PGP key on
http://bloodgate.com/tels.asc or per email.
"Yeah, baby, yeah!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQEVAwUBQnh6V3cLPEOTuEwVAQF6EQf7Bu9Y4WlJ1sA+U6aLYb5YdEz0dOXWv9sF
+OZpgml6hh+FQP91kJMKEWhctQmyss5bq5AD4vQ73mQYQcGsMr2w+nQoB0ItqO8y
ljTNZa3iuSQhbwE5jLbL2mewAgJVJdoxddSBAjdGz5SF/6Gb9gLm5qYPJTwtEXE8
+efKDqJ7kZQ5B+h0FXeHJ2n8X5Bz1zZq6iCdo2FvSRGVvdpSdH7zLQVi+36rb43Q
RHUdwV6gyJ8o5ORpqM6CXoV/iG9sEGKwIooNigBSfnFKT8tkJE2pO/YDcz7Vefh6
pJnuVSV9t6kyvJ2yzjukYS7hHgbdtCjkZ4S/MkTTbYV4eY9sJ47+SA==
=26QP
-----END PGP SIGNATURE-----