[Mediawiki-l] Variables on templates

Tim Landscheidt tim at tim-landscheidt.de
Fri Jun 18 13:51:05 UTC 2010


Juan Jesús Cremades Monserrat <relicary at gmail.com> wrote:

> The example that I've seen is this:



> In this web: http://en.wikipedia.org/wiki/The_Matrix_%28franchise%29 at the

> end is invoqued the {{Matrix}} template.



> This template calls the NavBox template. Is in this las template where we

> can read:



> <td class="navbox-group"

> style="{{{basestyle|}}};{{{groupstyle|}}};{{{group2style|}}}">



> The 'basestyle' has a value but I don't understand where comes from. Thanks

> everybody :)

With delving too deep into the template, there are lots of
"{{#if:}}"s around the uses of the above expression. Are you
sure you are really looking at the line that produces the
result?

Tim




More information about the MediaWiki-l mailing list