Search results
Results from the WOW.Com Content Network
Once you have made the template—for example Template:foo—you can add {{foo}} to the pages that you want to use it on. Every page using this template uses the same boilerplate text each time that a user visits it. When the template is updated, all pages containing the template tag are automatically updated.
When {{Parameter names example}} is used on an immediate subpage of its target template – e.g. on the target template's /doc page – its own |_template= parameter identifying the target template may be omitted. In other words, the code above, if used on Template:Infobox/page (where page could be "doc", "testcases", etc.), would become:
When a documentation subpage has not been created, and the {{documentation}} template is being used with a |content= parameter on the actual template page, then to place the template itself into a category, add [[Category:Category name]] inside the documentation template, after the content. For example, for placement on the actual template page:
In MediaWiki, templates cannot automatically handle an unknown or unlimited number of parameters. Each possible parameter usually has to be predefined in the template code. For example, a template might be set up to use three specific parameters, such as 1, 2, and 3. If someone includes additional parameters beyond those, they will not affect ...
The situation of having a leading semicolon, colon or "#" might be relatively rare, but this is just a reminder: for showing the true contents of a template parameter, try to display a parameter outside the start of any if-statement clauses, or display other text before the parameter inside the if-logic, or else prepare for some shocking ...
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.
There are various templates that help you to format test cases automatically. With these templates, parameters and values are only entered once, but are still tested for both the main template and the sandbox templates. This avoids the problem of errors in test case parameters, and makes it easier to maintain test case pages. These templates ...
This is the template link with parameters (or {}) template. It can be used in documentation and talk page discussions to show how a template name would be used in code. Here is how this template looks. Code to the left and actual rendering to the right: {{tlp|name|parameters}} = {{name|parameters}} Features of {}: