[pmwiki-users] Problem wih Include Directives
Patrick R. Michaud
pmichaud at pobox.com
Thu Jun 15 15:42:52 CDT 2006
On Thu, Jun 15, 2006 at 01:01:42PM -0700, Martin Fick wrote:
> --- "Patrick R. Michaud" <pmichaud at pobox.com> wrote:
> > Oh, wait! After thinking about it a bit I think I
> > may have a reasonable answer. I just need a good
> > page variable marker that means "included page"
> > as opposed to "current page", similar to how
> > {=$Name} is different from {$Name} in pagelist
> > templates.
>
> That would be a tremendous improvement to pmwiki, it
> would also solve the longstanding issues with titles
> and includes! Some suggestions:
>
> {.$Title} I like this one, unambiguous?
>
> {~$Title} Looks nice, too home directory like?
> {^$Title} Looks nice, implies parent(bad)?
>
> {&$Title} Not pretty, but does seem to convey "here"
> {*$Title} Conveys anywhere?
> {:$Title} Too much like a directive?
None of those leap out at me (but I admit it's a difficult
thing).
How about {<<$Title}, to mean "$Title of the outer include"?
Would that be too close to {<$Title} ?
Pm
More information about the pmwiki-users
mailing list