Template talk:Code

From A KoL Wiki
  • I don't know if this will ever work right, to display wiki code, you need to have it in <nowiki></nowiki> tags, but <nowiki>{{{text}}}</nowiki> won't evaluate {{{text}}} and leave it as it is and i doubt {{{<nowiki>text</nowiki>}}} is valid. And boy did i have to gerryrig this a little to display the nowiki tags right ;-) --JRSiebz 23:03, 28 Jun 2005 (Central Daylight Time)

Might as well try it here:

{{{title}}}

You better not evaluate this!

or this

{{{title}}}

You better not evaluate this! {{equals}}

well i guess it seems to work if you include nowiki tags in the text, but still embedding </nowiki> tags in <nowiki> tags creates problems because <nowiki> ends when it finds the first </nowiki>, so you have to use some html characters to prevent the </nowiki> from being an evaluatable </nowiki>, such as &lt; which is < --JRSiebz 23:13, 28 Jun 2005 (Central Daylight Time)

  • I'm so confused. --Snickles 23:16, 28 Jun 2005 (Central Daylight Time)
  • Hmm, it's almost be better of all brackets, parenthesis, greater/less than sign were are converted to special html characters, so the wiki parser just ignores them, but that's using a lot of &'s ;-) whew! and I'm worn out now.--JRSiebz 23:18, 28 Jun 2005 (Central Daylight Time)
  • Well I guess it does depend on what kind of "code" this code template is for. --JRSiebz 04:02, 29 Jun 2005 (Central Daylight Time)
What are you trying to add? It would be a lot easier to add in a tag if the application could be found. I would ever write an extention and all the admins would have to do is upload it and change one file.

--Y_Q_M 15:02, 30 Jun 2005 (Central Daylight Time)