summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-13 10:56:29 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-13 10:56:29 +0000
commit3fbfde45129e3a52fcaba9584b31056bb047dca0 (patch)
tree6566a6a053171abab3178b81dda51897e7a353e2
parentc27da2fb1888196213d230ec11df3ca2ccecde59 (diff)
web commit by JoshTriplett: Response.
-rw-r--r--doc/todo/shortcut_optional_parameters.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/todo/shortcut_optional_parameters.mdwn b/doc/todo/shortcut_optional_parameters.mdwn
index 4fd1eb9d4..2ca0977ae 100644
--- a/doc/todo/shortcut_optional_parameters.mdwn
+++ b/doc/todo/shortcut_optional_parameters.mdwn
@@ -29,3 +29,18 @@ look different:
\[[template id=debfiles package=ikiwiki dist=testing]]
--[[Joey]]
+
+> I think I would find templates sufficient, if:
+>
+> 1. I could use the name of the template as a preprocessor directive
+> (`\[[templatename ...]]`), rather than using the `template` directive
+> with an `id` argument (`\[[template id=templatename]]`).
+> 2. Template invocation allowed bare values in addition to `key=value`
+> arguments, and template definition supported some means to access the
+> value. This would allow `\[[debfiles ikiwiki]]` rather than `\[[debfiles
+> package=ikiwiki]]`.
+> 3. I could use ikiwiki syntax in the template, not just HTML and
+> HTML::Template. (If I can already do that, then [[/plugins/template]]
+> should make that more clear.)
+>
+> --[[JoshTriplett]]