Difference between revisions of "Issue:Cannot include a template call that uses a 2nd template variable"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Bug |Extension = DPL |Version = ? |Description = Template calls that use 2nd template variables cannot be included. |Status = open }} == Problem == ...)
 
(No difference)

Latest revision as of 17:21, 2 October 2008

Description: Template calls that use 2nd template variables cannot be included.
Extension / Version: DPL   /   ?
Type / Status: Bug   /   open

Problem

I have the following template:

{{ {{{format}}}
| variable1=xxx
| variable2=yyy
}}

I cannot generate an include line that works with this template, as include wants a real name, but my template uses a passed in variable as a template call.

I would like to be able to use the following inside a dpl call:

include={ {{{format}}} }:variable1:variable2

Reply