views:

16

answers:

0

I have made some templates on wikia.com, which contain only CSS code (key:value;).
My problem is having another template use these style templates in a style attribute tag.

style="{{MyTemplateStyle}}"

This code does not evaluate as expected. The CSS code is outputted before the element and the style attribute is not included inside the element.

Am I trying something not possible for a wiki ?
I merely want to be able to change styling on certain templates in one place, like regular HTML & CSS pages.