Category:Templates: Difference between revisions

no edit summary
(Should be moved here.)
No edit summary
 
(12 intermediate revisions by 9 users not shown)
Line 1: Line 1:
==What's a Template?==
{{Doc/Category|Type=Wiki|Templates that can be invoked in the editor to simplify the page creation process.|Technical pages}}
 
A '''template''' on Halopedia is a preset chunk of coding used on Halopedia that denotes a page's certain attrbute. What does that mean? For example, if an article is poorly written in terms of grammar, the template known as <nowiki>{{Grammar}}</nowiki> (see below) can be inserted into the page of the page. When <nowiki>{{Grammar}}</nowiki> is inserted into the top of the grammar-proofreading-needing article, when the page is saved, the following will show up:
{{Grammar}}
 
When Halopedia editors come across this page, they should try to edit the article and look for grammar errors. After the person who placed the template is satisfied that the article has been cleaned up, then the line of code will be removed.
 
To insert a template, you'll have to find or create a template. All used templates are displayed below, and help can be recieved in order to create a template. The code that inserts a template into an article is always between double curly brackets - <nowiki>{{Insert Template Name Here}}</nowiki>. However, if you wanted to see the original template to edit it, you have to type in <nowiki>[[Template: Template Name Here]]</nowiki> into the search box.
 
What kinds of templates can you expect to find? You'll normally find them marking stubs, pages requiring cleanup, exceptional articles, and sometimes, like <nowiki>{{TalkAddNewMsg}}</nowiki>, doing some other features.