Is it possible to get a template to inherit parameters from another template? I can't think of a better way to phrase the question so allow me to give an example.
Say you have two templates {{test1}}
and {{test2}}
that are being used on a page called "Test Page".
Template:Test1:
{{{par1}}}<br>
{{{par2}}}<br>
{{test2}}
<!--{{test2|par3={{{par3}}}|par4={{{par4}}}}}-->
Template:Test2:
{{{par3}}}<br>
{{{par4}}}<br>
Test Page:
{{test1|par1=aaa|par2=bbb|par3=ccc|par4=ddd}}
So what I would like to have happen is have it display:
aaa
bbb
ccc
ddd
The normal way of doing this would be to include the line that is commented out in Template:Test1
. Is there anyway to get it to automatically pass the parameters though? For something this mundane, it is isn't a problem to explicitly say par3={{{par3}}}
but when the templates get much more complex, it could be REALLY helpful. Any tips are most appreciated.