[Bug 22636] Make current variables available for transcluded templates.

2010-07-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22636

--- Comment #11 from Fabian  2010-07-09 18:08:25 UTC 
---
Okay, what is the status of this feature?

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22636] Make current variables available for transcluded templates.

2010-02-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22636

--- Comment #10 from Fabian  2010-02-27 09:48:04 UTC 
---
Can you give me an example of the implementation of yout include suggestion?
For me the {{}} are confusing, because this would be a template
implementation and we want to add a feature to the parameters actually.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22636] Make current variables available for transcluded templates.

2010-02-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22636

--- Comment #9 from René Kijewski  2010-02-27 
04:10:05 UTC ---
(In reply to comment #8)

I thought {{include:...}} as a kind of shortcut for having to include every
parameter explicitly.
I would be nice, if the inner child could ask some outer template for its
parameters, too.

Both would fulfill the same interest. I have no strong opinion, which option
should be implemented (maybe both?). I'd leave it to the developers to tell,
which would be easier to implement or have less overhead.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22636] Make current variables available for transcluded templates.

2010-02-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22636

--- Comment #7 from René Kijewski  2010-02-26 
14:50:13 UTC ---
(In reply to comment #6)
> But what does happen when you input {{include:…}} ? Do you send your 
> parameters
> to the parameters of the inner template?

Sorry, I did not understand your question. Could you make an example?
Did you mean whether your parameters should be transcluded to _all_ inner
templates? I'd say no.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22636] Make current variables available for transcluded templates.

2010-02-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22636

--- Comment #6 from Fabian  2010-02-26 13:14:07 UTC 
---
But what does happen when you input {{include:…}} ? Do you send your parameters
to the parameters of the inner template?

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22636] Make current variables available for transcluded templates.

2010-02-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22636

--- Comment #5 from René Kijewski  2010-02-26 
12:47:18 UTC ---
(In reply to comment #4)
> ...
> Is this the suggestion with the {{{include:…}}} from René?

Yes, exactly.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22636] Make current variables available for transcluded templates.

2010-02-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22636

--- Comment #4 from Fabian  2010-02-26 08:20:31 UTC 
---
But there you maybe have side effects, when some inner templates uses the same
parametername as the outer template. Because when the inner template is not
designed to be the inner template and some parameters with the same name but
not the same usage will be overridden. I would suggest, to add prefixes to
determine the „namespace“. For example {{{i:}}} if you do not want to
override it (default) or {{{o:}}} if you only want to use the outer
parameter or {{{c:}}} to implement your way.
Is this the suggestion with the {{{include:…}}} from René?

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22636] Make current variables available for transcluded templates.

2010-02-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22636

Happy-melon  changed:

   What|Removed |Added

 CC||happy-me...@live.com

--- Comment #3 from Happy-melon  2010-02-26 00:05:53 UTC 
---
Essentially, any parameters which are not explicitly overridden should be
passed through:

[[Page]]:

{{outerTemplate|1=foo|2=bar}}


[[Template:OuterTemplate]]:

{{innerTemplate|2=quok|4=nada}}


[[Template:InnerTemplate]]:

1: {{{1}}}, 2: {{{2}}}, 3: {{{3}}}, 4: {{{4}}}



Should output 

1: foo, 2: quok, 3: {{{3}}}, 4: nada


Whether to enable that parameter fallthrough by default, or only in specific
cases, is another question.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22636] Make current variables available for transcluded templates.

2010-02-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22636

Bart  changed:

   What|Removed |Added

 CC||banati...@gmail.com

--- Comment #2 from Bart  2010-02-24 18:45:12 UTC ---
http://en.wikipedia.org/wiki/Template:Infobox_Weather/concise_F takes
parameters and passes them to
http://en.wikipedia.org/wiki/Template:Infobox_Weather

|location = {{{location|}}}
In here, the concise_F template takes a possible location parameter (if
present) and passes it to the location parameter which is part of the called
(parent) Infobox_Weather template.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22636] Make current variables available for transcluded templates.

2010-02-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22636

Fabian  changed:

   What|Removed |Added

 CC||commodorefabia...@gmx.de

--- Comment #1 from Fabian  2010-02-24 18:34:36 UTC 
---
Hello René, how do you want to implement the third option with {{include:A/1}}?
To send the parameters of {{A}} to the transcluded template {{A/1}} and {{A/1}}
can access for example to {{{par0}}} of {{A}} easily by write {{{par0}}}.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l