Help:Templates

From Crankshaft Coalition Wiki
Jump to: navigation, search
m (1 revision)
m (Add category)
 
Line 1: Line 1:
 
{{PD Help Page}}
 
{{PD Help Page}}
If you have standard texts you want to include on several pages, the MediaWiki template feature comes into play.
+
If you have standard texts you want to include on several pages, the template feature comes into play.
  
 
==Creation==
 
==Creation==
 
Templates are standard wiki pages whose content is designed to be [http://en.wikipedia.org/w/index.php?title=Transclusion transcluded] (embedded) inside other pages. Templates follow a convention that the name is prefixed with "<code>Template:</code>", assigning it to that namespace. Therefore you can [[Help:Starting a new page|create them like any other wiki page]].
 
Templates are standard wiki pages whose content is designed to be [http://en.wikipedia.org/w/index.php?title=Transclusion transcluded] (embedded) inside other pages. Templates follow a convention that the name is prefixed with "<code>Template:</code>", assigning it to that namespace. Therefore you can [[Help:Starting a new page|create them like any other wiki page]].
 +
 +
Below the text that comprises the template, include the following text to have the template appear on the [http://www.crankshaftcoalition.com/wiki/Category:Templates '''Template category'''] page: <nowiki><noinclude>
 +
[[Category:Templates|{{PAGENAME}}]]
 +
</noinclude></nowiki>
 +
 +
===List of templates===
 +
A list of currently used templates can be seen on the [http://www.crankshaftcoalition.com/wiki/Category:Templates '''Template category'''] page.
  
 
==Usage==
 
==Usage==
Line 106: Line 113:
  
 
==See also==
 
==See also==
*[[Help:External searches]] – a template special use case example
 
 
*[[Help:Magic words]] – fancy stuff you may find in some templates
 
*[[Help:Magic words]] – fancy stuff you may find in some templates
*[[Help:Parser functions in templates]]
 
 
*{{meta|Help:Template}}
 
*{{meta|Help:Template}}
 
*{{meta|Help:Embed page}} – embedding pages from [[Help:namespaces|namespaces]] other than <code>Template:</code>.
 
*{{meta|Help:Embed page}} – embedding pages from [[Help:namespaces|namespaces]] other than <code>Template:</code>.
  
[[Category:Help|{{PAGENAME}}]]
+
[[Category:Help]]
[[Category:Template]]
+
[[Category: Wiki information]]
{{Languages|Help:Templates}}
+

Latest revision as of 17:10, 18 June 2012

Personal tools
Namespaces
Variants
Actions
Navigation
Categories
Toolbox