Yahoo Web Search

Search results

  1. Full details can be found in Help:Template, Wikipedia:Templates and m:Help:Advanced templates . A template is a Wikipedia page created to be included in other pages. It usually contains repetitive material that may need to show up on multiple articles or pages, often with customizable input. Templates sometimes use MediaWiki parser functions ...

  2. WP:TEMPLATEINDEX. This page provides an index of templates used within Wikipedia, many of which convey messages; they are grouped into topic-specific headings. For information on what templates are, and how the template namespace is intended to be used, see WP:Template namespace. For information on template use and development, see Help:Template.

  3. People also ask

    • General
    • Parameters
    • Examples
    • Hints and Workarounds
    • Process
    • Coding A Template
    • Handling Parameters
    • System Variables and Conditional Logic
    • Nesting Templates
    • Inclusion Control: Noinclude, Includeonly, and Onlyinclude

    Using a template is much like calling a function in a programming language – call it, and it returns a value. For a template, the return value is called the expansionof the template and is treated as part of the calling page source. Like functions, some templates accept parameters that affect the output. Calling a template causes it to be either tr...

    The basic transclusion syntax given above can be extended with parameters, which are used to control the template's output. The syntax for this is{{Template name|parameter|parameter|...}}where Template name is the name of the template, and each parameter may either contain just a value (these are called unnamed parameters) or be of the form name=va...

    Note: If you wish to experiment with any of these, you can use the template sandbox or your user page or sandbox. You can try out your template with Special:ExpandTemplates. An example of a very simple template can be found at Template:TM, which expands to wikitext that places the trademark symbol (™), linked to the trademarkarticle, at that point ...

    The following points may be worth noting when using templates: 1. Templates are not the only method of transclusion, in some cases, other methods such as selective transclusionare more appropriate. 2. An unnamed parameter value cannot contain an ordinary equals sign, as this would be interpreted in the parameter specification as a named parameter (...

    Templates are just Wikipedia pages. They are created, deleted, and edited in much the same way as any other page.

    Anything that can be included on a normal page or article can be included on a template, including other templates (called subtemplates). Templates often make use of programming features—parameters, parser functions, and other magic words—which allow the transcluded content to vary depending on context. There are also special tags to control which ...

    In template code, the value of a parameter is represented by items enclosed between triple braces, which is a parameter reference. 1. The code {{{xxx}}}expands to the value of the parameter named "xxx". 2. The codes {{{1}}}, {{{2}}}, and so on are expanded to the first, second, and so on unnamed parameters. (Note that an unnamed parameter can alter...

    Template code often makes use of the variables and parser functions described at Help:Magic wordsto make the template's behavior depend on the environment in which it is included (such as the current time or namespace). Parser functions can be used for some arithmetic calculations and string manipulations on variables and parameter values, but cert...

    A template may call another template—this is called nesting and the called template is called, in this context, a subtemplate. When WikiMedia expands the template, it expands subtemplates as the calls to them appear, so that the final product is essentially the result of expanding templates from the most deeply nested out. While fairly straightforw...

    By default, when a page calls a template, MediaWiki includes the expansion of the entire template in the calling page. However, it is possible to modify that behavior, using tags that specify which parts of the template code are to be included. This makes it possible for the template to contain information only for display when the template page it...

  4. Jan 20, 2018 · To view template definitions in Wikipedia, you need to sign up for an account. You can then go to any page and "edit" that page. When editing you will be able to view all template meta. In the top right corner of Wikipedia, there is a link that says "Create account". Once you have created an account you will see a link towards the top that says ...

  5. The Template namespace on Wikipedia is used to store templates, which contain Wiki markup intended for inclusion on multiple pages, usually via transclusion. Although the Template namespace is used for storing most templates, it is possible to transclude and substitute from other namespaces, [1] and so some template pages are placed in other ...

  6. Nov 17, 2021 · Templates are useful for any text for which one wants a copy in two or more pages, and there is no need for each copy to be edited independently, to adapt it to the page it is in. Since parameters can be used, versions may to that extent even be different, and parameter values can be edited independently for each.

  7. Also note that the word "template" has another connotation, mainly used by Wikipedia system admins, as a verb to refer to issuing a canned message to users, based on putting templates on user talk-pages. In general, any template of the form { {xyzz}} is stored under page name "Template:Xyzz". The introduction to templates is: Help:Template .

  1. People also search for