Help:Templates: Difference between revisions

From Halopedia, the Halo wiki

(specify the type of brackets needed)
No edit summary
Line 1: Line 1:
==What's a Template?==
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:
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}}
{{Grammar}}
Line 5: Line 7:


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.
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.
==List of Templates==


----
----

Revision as of 01:33, August 9, 2006

What's a Template?

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 {{Grammar}} (see below) can be inserted into the page of the page. When {{Grammar}} is inserted into the top of the grammar-proofreading-needing article, when the page is saved, the following will show up:

Help.png
This article does not meet the grammar standards of Halopedia. Please repair this article so that it meets our standard.

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 - {{Insert Template Name Here}}. However, if you wanted to see the original template to edit it, you have to type in [[Template: Template Name Here]] into the search box.

List of Templates


For leaving messages on talk pages - Template:TalkAddNewMsg, displays as

Leave a message.

when {{TalkAddNewMsg}} is added to the top of a talk page


For unsigned comments - Template:Unsigned, displays as —This unsigned comment was made by Enter Unsigned Person's Name Here (talkcontribs). Please sign your posts with ~~~~ when {{Unsigned|Enter Unsigned Person's Name Here}} is added behind an unsigned comment


For overall cleanup - Template:Cleanup, displays as

Help.png
This article does not meet the wiki's general standards and/or standards on layouts. You can help by cleaning this article.

when {{Cleanup}} is added at the top of a page that needs overall cleanup - errors in grammar, material, introduction, or other.


For grammar cleanup - Template:Grammar, displays as

Help.png
This article does not meet the grammar standards of Halopedia. Please repair this article so that it meets our standard.

when {{Grammar}} is added at the top of a page that specifically needs grammar proofreading


For factual content cleanup - Template:FactOrFiction, displays as Template:FactOrFiction when {{FactOrFiction}} is added at the top of a page that specifically needs fact-checking


For an exceptional article - Template:ExceptionalArticle, displays as Template:ExceptionalArticle when {{ExceptionalArticle}} is added at the top of a page that is exceptionally written


For an article stub - Template:Stub, displays as

Era-rw.png This article is a stub. You can help Halopedia by expanding it.

when {{stub}} is added at the bottom of a short insufficient page