Help:Template: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
m cat sort
ArrowHead294 (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
todo
'''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 standardised 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.


== 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]]
== Building templates ==
todo
: ''see also [https://en.wikipedia.org/wiki/Help:Template Help&#58;Template &#45; Wikipedia]''


== See also ==
== See also ==
* [[:Category:Templates]]
* [[:Category:Templates]]
* [https://en.xen.wiki/w/Special:AllPages?from=&to=&namespace=10 All pages (Template namespace) &#45; Xenharmonic Wiki]
* [https://en.xen.wiki/w/Special:AllPages?from=&to=&namespace=10 All pages (Template namespace) &#45; Xenharmonic Wiki]
* [[Wikipedia:Help:Template|Wikipedia's help page for templates]]


[[category:help]]
[[Category:Help]]
[[category:Templates|?]]
[[Category:Templates|?]]
[[category:todo:expand|?]]
[[Category:Todo:expand|?]]

Latest revision as of 14:28, 13 July 2024

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

templates with arguments

See also