Search results
Results From The WOW.Com Content Network
The code above is in {{Conditional tables/example 2c}}. As before, the table below demonstrates the effect when it's used: As before, the table below demonstrates the effect when it's used: Template call
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.
In template code, the value of a parameter is represented by items enclosed between triple braces, which is a parameter reference. The code {{{xxx}}} expands to the value of the parameter named "xxx". The codes {{{1}}}, {{{2}}}, and so on are expanded to the first, second, and so on unnamed parameters. (Note that an unnamed parameter can ...
This is the template test cases page for the sandbox of Template:If empty to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page.
This template is used inside other templates. It takes any number of parameters and returns the first found to be defined and non-empty. If none is found, nothing is returned.
Template documentation This template may have no transclusions , because it is substituted by a tool or script, it is used as part of a short-term or less active Wikipedia process, or for some other reason.
Maintenance template to be placed in sections that are empty, containing neither text nor sub-sections. Before tagging an empty section, consider removing the section heading instead – for example, an empty "Gallery", "See also" or "External links" section can safely be deleted. Puts articles into [[Category:Articles with empty sections]] and [[Category:Articles to be expanded]]. Template ...
Embedded templates do not function as expected inside {}; for longer, free-form blocks of code, which can contain templates such as {} and {}, use <code>...</code> as a wrapper instead of this template. Templates used inside {} expose the rendered HTML— this can be useful. For example: