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 ...
This template can take any number of unnamed parameters as parameters accompanying the template link (or name); see Examples below. Examples Use the displayed value in the code column, not the underlying source code.
Load the necessary resources, including required jQuery The HTML code with template attribute marking for-each subtemplate and z-var replacement instructions. Load JSON data from presidents.json and apply data to the HTML template with id attribute "target". Mustache.js
Tagging a (hexa)decimal code with the template {} will enable future editors to review the page, and to Unicodify the character if it is included in future expansions of Unicode. This happened, for example, at strident vowel , where a non-Unicode symbol for the sound was used in the literature and added to the PUA of SIL's IPA fonts.
Comparison of template-linking templates according to the styles of generated text and link produced Text style ↓ {{}} options [note 1]to achieve text style Link style
However, on more complex templates, the template may invoke a module, transclude other templates, only work if paired with a separate template, or need particular CSS or JavaScript code to work. In these cases, it is helpful to include a brief list of templates or other code that this one requires, at the end of the documentation.
This template is used on approximately 18,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage . Consider discussing changes on the talk page before implementing them.
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.