https://bugzilla.wikimedia.org/show_bug.cgi?id=30648

--- Comment #6 from Gustronico <[email protected]> 2011-09-01 23:53:17 UTC 
---
A simpler syntax for the per-parameter alternative:

{{core |foo = {{{bar}}} }}    //without pipes!

Where parser should translate this no-piped syntax as: "If {{{bar}}} is
defined, pass its value to template 'core' as parameter 'foo'; if it is not
defined, do not pass anything, so making template 'core' can evaluate {{{foo}}}
as undefined."

Thus, sub-template 'core' can default {{{foo}}} to {{{foo|something}}}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to