Ad
related to: about page template with code
Search results
Results From The WOW.Com Content Network
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.
When then viewing the page, {{foo}} is automatically replaced by the content of the page "Template:foo". If the page "Template:foo" is later altered, all the pages with {{foo}} in them will change automatically. Among other things, templates are used to add recurring messages to pages in a consistent way, to add boilerplate messages, and to ...
A template is a Wikipedia page whose purpose is to be transcluded or substituted in another page. Templates are usually in the template namespace, but don't have to be. Pages can transclude or substitute any page, not just templates; what makes a page a template is the page's purpose. Calling a template means transcluding or substituting one. A ...
Before doing changes to a template it can be good to first copy the template code to a sandbox and run some testcases, since the template might be visible on thousands or even millions of pages. If you create subpages named exactly " /sandbox " and " /testcases " to a template then the green {{documentation}} box on the template auto-detects ...
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 ...
[[Category:Main Page templates]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Main Page templates]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character.
This is a dummy article to help you get started with creating pages in the wiki; please copy the code to a different page and edit it there.The first paragraph is usually a short dictionary-style definition of the subject matter.
[[Category:Wikipedia table of contents templates]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Wikipedia table of contents templates]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character.