Template:Script doc auto/doc: Difference between revisions

Content deleted Content added
Adding a note that this template must use <br /> since it is a system message.
Line 28:
 
Internally this template uses the {{tl|str len}} template. Since {{tlf|str len}} is heavy on the servers this template only calls it once, then it feeds the result to {{tl|script doc/core}} which contains most of the code for this template.
 
'''Note to admins:''' MediaWiki does not parse and convert HTML wikimarkup in system messages the same way as it does for normal pages. This means for instance that <code>&lt;br></code> is not automatically converted to <code>&lt;br /></code> and missing <code>&lt;/td></code> and <code>&lt;/tr></code> tags are not automatically added. Thus see to that any HTML code you use in this template is valid XHTML. That is, close all tags that you begin. However, regular wikimarkup works fine in most system messages.
 
For more technical details see the [[Template talk:Script doc|talk page]].
 
=== See also ===