WGL.Q – User talk

From Bohemia Interactive Community
Revision as of 14:31, 17 July 2009 by Kronzky (talk | contribs) (Command examples & wiki code)
Jump to navigation Jump to search

Command Examples

gday Kronzky,
can you please use the bot to make proper example templates.
Right now the new A2 pages either have no entry or a code tag. Yet a pre is needed. Code somehow breaks more complex examples like isFlatEmpty.
Example pages with broken example template code: savingEnabled and inGameUISetEventHandler. Thanks! --.kju 16:45, 13 July 2009 (CEST)

The problem you came across happens everywhere in the command template. Any equal sign that's used in the template has to be surrounded by <nowiki></nowiki> tags.
You're right that this doesn't happen inside <pre> tags, but, even though I don't *remember* the reasons for it, I *think* there was one, to use <code> instead of <pre> to indicate code (it may have had to do with the search functions).
So, I guess I'll just leave it to whoever adds examples to the commands, to either use <pre>, or to surround equal signs with <nowiki></nowiki> tags. --Kronzky 14:31, 17 July 2009 (CEST)