Search results
Results from the WOW.Com Content Network
An inline source code string. Template parameters [Edit template data] This template prefers inline formatting of parameters. Parameter Description Type Status Code 1 code The code to display. String required Language 2 lang The programming language of the source code. List of valid values is at: [[mw:Extension:SyntaxHighlight#Supported_languages]] Default text String suggested Class class no ...
Template: JavaScript. ... Upload file; Special pages; Permanent link; Page information; Get shortened URL; Download QR code; Print/export Download as PDF; Printable ...
The {{deprecated code}} template (easiest used from its {} redirect) can be used to indicate, e.g. in template documentation or Wikipedia articles on things like HTML specifications, code that has been deprecated and should not normally be used. It can also be used to indicate other deleted or deprecated material.
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate
The {{deprecated code}} template (easiest used from its {} redirect) can be used to indicate, e.g. in template documentation or Wikipedia articles on things like HTML specifications, code that has been deprecated and should not normally be used. It can also be used to indicate other deleted or deprecated material.
[[Category:Wikipedia JavaScript templates]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Wikipedia JavaScript templates]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character.
This template internally uses mw:Extension:SyntaxHighlight, which is considered an 'expensive parser function' (see WP:EXPENSIVE). If used on a page which uses more than 500 expensive parser functions, the output of subsequent uses of this template will be presented using <code>...</code> formatting (without any syntax highlighting) instead.
This separates the often complex template code from the documentation, making the documentation easier to edit and reducing the number of accidental editing errors in the template code. It also allows templates to be protected where necessary, limiting editing access to important templates' code while allowing anyone to edit those templates ...