Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Help:A quick guide to templates
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==FAQ== ; How can I find out how to use an existing template? : To see the documentation for the template whose name is "foo", go to "Template:foo". ; How do I find out where a template is used? : To list all pages onto which a template is transcluded, use '''[[Special:WhatLinksHere]]''' and type in template:''templatename'' ([[Help:What links here|more info]]). ; Can I use a template in more than one project? : No, if you want to use it on two different language Wikipedias, for example, you would need to create it twice. ; Are template names case-sensitive? : Yes, except usually (on most wikis)<sup>[[meta:Help:Template#Case sensitivity|[1]]]</sup> the first letter. ; How can I add parameters? : See [[Help:Template]] for instructions. ; I edited the template, so why didn't the page it is used on change? : Wikipedia and your computer both store webpage ''[[Web cache|caches]]'' β or saved copies β and don't always show you an updated page. First, try to [[WP:BYPASS|bypass your browser's cache]] by pressing {{key press|Opt|Cmd|R}}, {{key press|Ctrl|Shift|R}}, or {{key press|Ctrl|F5}}. If that fails, you may need to [[WP:PURGE|purge]] the page's cache (which can be done several different ways). Perhaps the easiest way to do this is by clicking '''edit''' on the page in which the template appears, and then clicking on '''Publish changes''' without having changed anything β there is no need to fill in the ''Summary'' field since there will not be any ''history'' of this as a change generated. ; Can I move a template to a new name? : Yes, this works in exactly the same way as normal [[Help:Moving a page|page moves]]. When a page called for inclusion is a redirect page, the redirect target is included instead. ; Can I use a template within a template? : Yes. ; How do I add a new template? : You start a new template in the same way you would start a normal page. The only difference is that its title must start with {{code|Template:}}. Don't forget to document it so that other editors can use it! ; Where is the manual for the programming language used to write templates? : The language inside templates is the same language as regular wiki markup, but template writers tend to use the more complex available functions such as #if: statements. See Wikipedia's [[Help:Template]] and Wikimedia's [[mw:Help:Template]], including all of "advanced functioning" help pages listed toward the bottom of [[mw:Help:Template#Links to other help pages|that page]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)