On 22.05.2012 22:37, Gabriel Wicke wrote:
{{{data.color}}} would be inaccessible to Lua
templates, unless it is
expanded as a parameter in a custom preprocessor frame and then passed
by value to the Lua template. The custom preprocessor frame code would
be specific to the current PHP preprocessor, and incompatible with other
parsers.
A parser function call with explicit item parameter on the other hand
would work as-is through the generic API- be it from Lua or Parsoid.
even though {{{data}}} wouldn't be text, but a complex data object that needs
special handling when evaluating it to wikitext?
{{{data}}} won't be accessible to Lua or Parsoid.
{{#data:q12345|somevalue}} on the other hand would be accessible through
the regular parser function API.
Gabriel