]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/shortcut_with_no_url_parameter__44___only_desc.mdwn
web commit by JoshTriplett: Response: shortcuts with only desc still useful.
[ikiwiki.git] / doc / todo / shortcut_with_no_url_parameter__44___only_desc.mdwn
index 4296fedd01728a0f178ea53638b23f543b3d107a..60cf66499ea06a49a1ce198ee5d9841c6469a43f 100644 (file)
@@ -6,3 +6,18 @@ allow shortcuts with multiple links, such as the mmlist shortcut proposed on
 [[simple_text_parsing_or_regex_in_template_or_shortcut]], or a comprehensive
 Debian package shortcut which linked to the package page and parenthetically
 to the BTS and PTS.
+
+--[[JoshTriplett]]
+
+It sounds like you're looking for templates, not shortcuts. --[[Joey]]
+
+> Perhaps true (see my issues with template syntax on
+> [[todo/shortcut_optional_parameters]]), but allowing a `shortcut` without an
+> `url` still seems reasonable, and simple.  You could also use such shortcuts
+> without markup at all, as an abbreviation mechanism:
+> 
+>     \[[shortcut name=spi desc="Software in the Public Interest, Inc."]]].
+>     \[[shortcut name=sosp desc="Symposium on Operating System Principles"]]].
+>     \[[shortcut name=cacm desc="Communications of the ACM"]]].
+>
+> --[[Josh Triplett]]