Template talk:Lowercase

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
(How to get these to work?)
 
m (How to get these to work?)
 
(2 intermediate revisions by one user not shown)
Line 10: Line 10:
 
I wonder what is different?
 
I wonder what is different?
 
--[[User:Aarku|Aarku]] 09:15, 24 April 2006 (GMT)
 
--[[User:Aarku|Aarku]] 09:15, 24 April 2006 (GMT)
 +
 +
I suspect the problem is that the syntax highlighter affects certain kinds of content which it isn't supposed to touch.  See the "Please note..." footer on the edit page for another example of the syntax highlighter mangling things. --[[User:NCarter|NCarter]] 09:40, 24 April 2006 (GMT)
 +
 +
Looks like the problem is that the syntax parser is triggered by ''all'' divs, and not just code block elements as expected.  If I use span instead of div, it works.  I didn't just use span, though, since the template doesn't function properly without adding a load of other templates first.  In the name of simplicity, I just took out the container element and all the other references and left it as a plain text template. --[[User:NCarter|NCarter]] 12:59, 28 April 2006 (GMT)

Latest revision as of 13:03, 28 April 2006

[edit] How to get these to work?

I wanted to try templates and thought this would be a good place to start, but I can't get it to work. http://unify.bluegillweb.com/scriptwiki/index.php/User:Aarku

It works fine on Wikipedia: http://en.wikipedia.org/wiki/IDevGames http://en.wikipedia.org/w/index.php?title=Template:Lowercase&action=edit

I wonder what is different? --Aarku 09:15, 24 April 2006 (GMT)

I suspect the problem is that the syntax highlighter affects certain kinds of content which it isn't supposed to touch. See the "Please note..." footer on the edit page for another example of the syntax highlighter mangling things. --NCarter 09:40, 24 April 2006 (GMT)

Looks like the problem is that the syntax parser is triggered by all divs, and not just code block elements as expected. If I use span instead of div, it works. I didn't just use span, though, since the template doesn't function properly without adding a load of other templates first. In the name of simplicity, I just took out the container element and all the other references and left it as a plain text template. --NCarter 12:59, 28 April 2006 (GMT)

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox