Topic on Help talk:TemplateStyles

TemplateStyles adding does not work for me

4
Kira Resari (talkcontribs)

I wanted to add the following template style to a page of our new MediaWiki:

Template:Div col

So I added the following line to the beginning of the page in source code mode:

`<templatestyles src="Div col/styles.css" />`

However, that only caused that line to be displayed on the page in plain text, and the Div Col tags were displayed as links to nonexisting pages.

I have also tried `<templatestyles src="Div_col/styles.css" />`, but to no avail either.

How do I correctly use template styles?

Keyacom (talkcontribs)

Did you place that within <noinclude> or out of <onlyinclude> tags?

Kira Resari (talkcontribs)

Nope. Why would I do that? It's pretty much just a blank page where I'm trying to get this to work. Is there an example page/wiki somewhere that I can try to copy to see if it works?

Tacsipacsi (talkcontribs)

Did you install the extension? Without the extension being installed, the parser tag won’t work…

Reply to "TemplateStyles adding does not work for me"