[Mediawiki-l] Variables on templates

Ryan Kaldari rkaldari at wikimedia.org
Tue Jun 15 00:23:46 UTC 2010

In this case, both "bodystyle" and "style" are parameters that are 
passed to the template by whatever is instantiating it (e.g. another 
template or an instance of the template living on a page somewhere). For 
{{some template | bodystyle = color:black; | style = font-weight:bold; }}

Hope that makes sense.

Ryan Kaldari

On 6/14/10 4:20 AM, Juan Jesús Cremades Monserrat wrote:
> Hi,
> I was studying the Wikipedia Templates and I have see somes codes like this:
> style="{{{bodystyle|}}};{{{style|}}}"><tr>...
> But "bodystyle" isn't defined anywhere and it isn't invoked but has a value
> in the page result. Exists some meaning to define this values? Thanks.
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

More information about the MediaWiki-l mailing list