[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mediawiki-l
Subject:    Re: [Mediawiki-l] Variables on templates
From:       Tim Landscheidt <tim () tim-landscheidt ! de>
Date:       2010-06-18 13:51:05
Message-ID: m3aaqs1mba.fsf () passepartout ! tim-landscheidt ! de
[Download RAW message or body]

Juan Jesús Cremades Monserrat <relicary@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


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic