Feature #150
Embed variable helptext
| Status: | New | Start date: | 06/07/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Core | |||
| Target version: | - |
Description
Right now, there's no way to track what variables an embedded template expects/supports. It would be useful someday to be able to give users the option of setting the kwargs for an embed - when using something like the js feature proposed in #149, for instance - and letting them know what the options were. Users might not guess that full=1 could do anything, let alone make an image full-width - or display a full caption - or whatever it might do.
I don't know yet what the format for this should be. Perhaps something like:
{% embedvar "full" "Makes the image full-size" %}.
There should be no option for using context variables.
History
#1
Updated by Stephen Burrows almost 2 years ago
- Tracker changed from Bug to Feature
Not sure why this was listed as a bug...