Changes

→‎Documentation on the template page: Spelling/Grammar Check, typos fixed: straight-forward → straightforward
Line 1: Line 1:  
A '''template''' is a page that can be inserted in another page.  Although any page can be inserted in another page, templates are normally created in the "Template" [[namespace]].
 
A '''template''' is a page that can be inserted in another page.  Although any page can be inserted in another page, templates are normally created in the "Template" [[namespace]].
   −
*[[Special%3AAllpages&from=&namespace=10| List of templates]]
+
*[[help:templates|List of templates]]
       
----
 
----
 +
 
=='''Before you can attach your own template to any CP page, you will need to submit it for approval at [[Template Submission]].''' ==
 
=='''Before you can attach your own template to any CP page, you will need to submit it for approval at [[Template Submission]].''' ==
   Line 11: Line 12:  
== Creating templates ==  
 
== Creating templates ==  
   −
Templates can be created (started) in exactly the same way as ordinary articles.  See [[Conservapedia:How to create a new article|How to create a new article]].
+
Templates can be created (started) in exactly the same way as ordinary articles.  See [[Help:How to create a new article|How to create a new article]].
    
== Types of templates ==
 
== Types of templates ==
Line 28: Line 29:  
It is not the purpose of this page to describe the various ways to write templates.  See the [http://meta.wikimedia.org/wiki/Help:Template template manual at MediaWiki].
 
It is not the purpose of this page to describe the various ways to write templates.  See the [http://meta.wikimedia.org/wiki/Help:Template template manual at MediaWiki].
 
===Creating parameters for templates===
 
===Creating parameters for templates===
−
==Making templates==
   
<nowiki>{{{1}}}</nowiki> creates a parameter for a template
 
<nowiki>{{{1}}}</nowiki> creates a parameter for a template
   Line 86: Line 86:  
* {{tl|Parms}}  This is a container for a list of parameters.  If there are no parameters, just place {{tt|<nowiki>{{Parms|}}</nowiki>}} on the page.
 
* {{tl|Parms}}  This is a container for a list of parameters.  If there are no parameters, just place {{tt|<nowiki>{{Parms|}}</nowiki>}} on the page.
 
* {{tl|Parm}}  This comprises the details of a single parameter.  Use one of these for each parameter in the template, with all of them comprising the one parameter required for the {{tl|Parms}} macro.
 
* {{tl|Parm}}  This comprises the details of a single parameter.  Use one of these for each parameter in the template, with all of them comprising the one parameter required for the {{tl|Parms}} macro.
−
** Note that in a few cases with many straight-forward parameters which are obvious from the template itself, it is not necessary to list each one of them individually.  See {{tl|planet}} for an example.
+
** Note that in a few cases with many straightforward parameters which are obvious from the template itself, it is not necessary to list each one of them individually.  See {{tl|planet}} for an example.
    
To make it easier, simply copy the following text to the documentation page of a template, then fill in the details.  If you are not placing this on the template page itself, omit the <nowiki><noinclude></nowiki> tags.
 
To make it easier, simply copy the following text to the documentation page of a template, then fill in the details.  If you are not placing this on the template page itself, omit the <nowiki><noinclude></nowiki> tags.
Line 114: Line 114:     
Conservapedia sysops will try to leave templates unlocked, but templates that are used on many pages are prime candidates for vandalism and will be locked accordingly.  If you wish to edit a locked template, contact any sysop who will unlock it for you for a brief time, but only if you have an established record of editing on Conservapedia.  Alternatively, propose your changes on a talk page and ask a sysop to make the changes for you.
 
Conservapedia sysops will try to leave templates unlocked, but templates that are used on many pages are prime candidates for vandalism and will be locked accordingly.  If you wish to edit a locked template, contact any sysop who will unlock it for you for a brief time, but only if you have an established record of editing on Conservapedia.  Alternatively, propose your changes on a talk page and ask a sysop to make the changes for you.
 +
 +
[[Category:Help]]
Block, SkipCaptcha, apieditor, Automoderated users, Bots, edit, ratelimit-exempt
59,208

edits