Help:Template: Difference between revisions
Jump to navigation
Jump to search
m cat sort |
removed extra-todos, bundled see also links |
||
Line 1: | Line 1: | ||
'''Templates''' are pages that can be included into other pages, to produce standardized layouts, complicated structures and so on. MediaWiki reserves one namespace for them. Each template page has the prefix <code>Template:</code>. Templates can also manage categories for pages. | |||
'''Templates''' are pages that can be included into other pages, to produce | |||
== Examples == | == Examples == | ||
Line 10: | Line 8: | ||
* <code><nowiki>{{external image}}</nowiki></code> - [[Template:external image]] | * <code><nowiki>{{external image}}</nowiki></code> - [[Template:external image]] | ||
* <code><nowiki>{{Infobox Interval}}</nowiki></code> - [[Template:Infobox Interval]] | * <code><nowiki>{{Infobox Interval}}</nowiki></code> - [[Template:Infobox Interval]] | ||
== See also == | == See also == | ||
* [[:Category:Templates]] | * [[:Category:Templates]] | ||
* [https://en.xen.wiki/w/Special:AllPages?from=&to=&namespace=10 All pages (Template namespace) - Xenharmonic Wiki] | * [https://en.xen.wiki/w/Special:AllPages?from=&to=&namespace=10 All pages (Template namespace) - Xenharmonic Wiki] | ||
* [[Wikipedia: Help:Template]] | |||
[[Category:Help]] | |||
[[ | [[Category:Templates|?]] | ||
[[Category:Todo:expand|?]] | |||
[[ |
Revision as of 13:22, 13 December 2020
Templates are pages that can be included into other pages, to produce standardized layouts, complicated structures and so on. MediaWiki reserves one namespace for them. Each template page has the prefix Template:
. Templates can also manage categories for pages.
Examples
simple templates
{{dead link}}
- Template:dead link
templates with arguments
{{external image}}
- Template:external image{{Infobox Interval}}
- Template:Infobox Interval