Help:Template

From Meta, a Wikimedia project coordination wiki
(Redirected from Help:Templates)
Shortcut:
WM:TEMP

The below content has yet to be checked to make sure it is still present on the MediaWiki page if relevant.

The contents of one page can be placed onto another page by using a template.[1]

This page and Help:Advanced templates are a reference manual on templates in MediaWiki. See also User:Happy-melon/Templates. For an introduction, see mw:Help:Templates. For syntax often used within templates, see mw:Help:Parser function, Help:Extension:ParserFunctions (on MediaWiki.org) and other "Advanced functioning" help pages listed hereafter.

Notes

  1. This process is called transclusionhttp://en.wikipedia.org/wiki/Wikipedia:Transclusion. If a page is specially intended for this purpose, it is called a template. In terms of programming languages, the wikitext of a page can be considered a string expression. In this view a template call is the call of a string function. The template page is the function body. The resulting string may are either be fixed or depend on parameters and/or variables. Other than in many programming languages the declaration of the function does not start with a formal parameter list, it consists of the function body only, which is a string expression for the result. See also compound document.

See also

See also Meta:List of templates.

Links to other help pages

Help contents
Meta · Wikinews · Wikipedia · Wikiquote · Wiktionary · Commons: · Wikidata · MediaWiki · Wikibooks · Wikisource · MediaWiki: Manual · Google
Versions of this help page (for other languages see further)
What links here on Meta or from Meta · Wikipedia · MediaWiki
Reading
Go · Search · Namespace · Page name · Section · Backlinks · Redirect · Category · Image page · Special pages · Printable version
Tracking changes
Recent changes (enhanced) | Related changes · Watching pages · Diff · Page history · Edit summary · User contributions · Minor edit · Patrolled edit
Logging in and preferences
Logging in · Preferences
Editing
Starting a new page · Advanced editing · Editing FAQ · Export · Import · Shortcuts · Edit conflict · Page size
Referencing
Links · URL · Interwiki linking · Footnotes
Style and formatting
Wikitext examples · CSS · Reference card · HTML in wikitext · Formula · Lists · Table · Sorting · Colors · Images and file uploads
Fixing mistakes
Show preview · Reverting edits
Advanced functioning
Expansion · Template · Advanced templates · Parser function · Parameter default · Magic words · System message · Substitution · Array · Calculation · Transclusion
Others
Special characters · Renaming (moving) a page · Preparing a page for translation · Talk page · Signatures · Sandbox · Legal issues for editors