Help:Template types

Beta

Template types involves classifying each template with a type such as 'infobox', 'navbox' or 'quote'.

Adding types to your templates is going to make your wikia community smarter and your templates easier to manage! Information about template types is going to enhance Insights and group your templates automatically on Special:Templates. Additionally, this information will help Wikia display your articles in the best possible way on our mobile skin by emphasizing some types (quotes, context links, infoboxes) and de-emphasizing others that don't work so well (navboxes, for example).

Classifying a template is easy, and we have also worked on automatic (or "machine") type detection that will likely cover a lot of cases - so classification should not require much work from you. You will need to help out our machines a bit, though, they're not as smart as you are.

How it works
A template's current type is shown just under the page title on a template page. This type can be changed by logged in users who have edit permissions on that template.

Updates can be made via the template page and via the right rail of the editor when you're editing the template. Clicking the listed type or the pencil icon next to it will open a dialog that lets you select the template type.

Additionally, a dialog will ask you for the template type when creating a new template or when publishing an edit to a template page which has no type set.

Any automated classifications - those detected by the "machine" systems - are overridden by your classification choices.

Template types
The current template types are listed below. There are some overlaps between the types, so we recommend you choose the type that is most specific to each template.

Note: these may be updated in the future based on your feedback - feel free to send in your thoughts to Special:Contact/feedback.

Infobox
Infoboxes display the most essential information about an article in a box at the top of the page. These usually float to the right side of the page but sometimes they span the entire width of the page.


 * Examples:
 * http://indianajones.wikia.com/wiki/Template:Infobox_Artifact
 * http://scrubs.wikia.com/wiki/Template:Character
 * http://dragonball.wikia.com/wiki/Template:Volume_Infobox

Navbox
Navbox templates display a list of organized links in a box for readers to navigate to related articles, usually at the bottom of the page.


 * Examples:
 * http://runescape.wikia.com/wiki/Template:Weapon
 * http://undertale.wikia.com/wiki/Template:Characters
 * http://disney.wikia.com/wiki/Template:Rescue_Rangers

Quote
Many communities use quote templates to highlight notable snippets of text such as lyrics, book passages, spoken dialog, or extracts from interviews or news articles. These templates often contain either a quote from one source or dialog between multiple people.


 * Examples:
 * http://thehungergames.wikia.com/wiki/Template:Quote
 * http://gameofthrones.wikia.com/wiki/Template:Dialogue_a-b
 * http://ben10.wikia.com/wiki/Template:Quote

Notice
Also known as tophats or alerts, these templates notify the reader about the status of the article itself, such as if it is a stub, if there is an associated disambiguation page, or if the article contains spoilers. (These roughly correspond to the flags feature items.)

Notice templates often appear at the very top of an article page but also appear in certain sections or at the bottom of the page.


 * Examples:
 * http://fallout.wikia.com/wiki/Template:Update
 * http://finalfantasy.wikia.com/wiki/Template:Stub
 * http://warframe.wikia.com/wiki/Template:Speculation

Context link
These templates suggest another page that is related to the current page or section. The two most frequent uses of this type are “Main article” or “See also” and display as italicized text. These are used at the top of an article page or at the top of a section within an article page.


 * Examples:
 * http://vampirediaries.wikia.com/wiki/Template:Main
 * http://mlp.wikia.com/wiki/Template:See_also
 * http://powerlisting.wikia.com/wiki/Template:For

Citation or reference
These templates organize and standardize the display how sources of content on an article page are annotated. These can be either used to place a single reference in an article or to build a references list at the bottom of the article page.

These templates can optionally use tags or build in-line citations.


 * Examples:
 * http://arresteddevelopment.wikia.com/wiki/Template:Ep
 * http://fringe.wikia.com/wiki/Template:Crossref
 * http://logos.wikia.com/wiki/Template:Reflist

Image, video, or gallery
The purpose of any template in the image, video, or gallery type is to standardize or modify the display of one or more images or videos on an article page.

These are often used to build a gallery or to format how an image thumbnail displays.


 * Examples:
 * http://onepiece.wikia.com/wiki/Template:Gallery
 * http://lostpedia.wikia.com/wiki/Template:I
 * http://dragonage.wikia.com/wiki/Template:Icon

Data
Any templates that do not fall into the types above but add information or data to an article page should be classified as data. This includes (but is certainly not limited to) templates that are used to build tables, templates that are used to generate math equations, or pieces of data (e.g. price of an item, release version of a game, etc.) that are inserted on multiple pages.


 * Examples:
 * http://yugioh.wikia.com/wiki/Template:DM_card
 * http://borderlands.wikia.com/wiki/Template:Item_table_row
 * http://wowwiki.wikia.com/wiki/Template:Battlepet_ability_row
 * http://arresteddevelopment.wikia.com/wiki/Template:Season_3_Episodes

Design
If a template’s sole purpose is to modify how an article page (or a piece of an article page) looks, it should be classified as design. Common uses include adding tabs, a scrollbox, modifying the visual display of text or tables, or relocating the table of contents.


 * Examples:
 * http://starwars.wikia.com/wiki/Template:Credits
 * http://simpsons.wikia.com/wiki/Template:Tab
 * http://ladygaga.wikia.com/wiki/Template:Scroll_box

Navigation
If a template’s sole purpose is to help readers or other editors find another article page or category it should be classified as navigation. Example uses include page-top icons, recommended links to other websites, categorizers, or succession boxes.

The most popular types of navigation templates are navboxes and context links, which are listed above.


 * Examples:
 * http://fallout.wikia.com/wiki/Template:Games
 * http://scrubs.wikia.com/wiki/Template:Music_floater
 * http://muppet.wikia.com/wiki/Template:Wikipedia

Non-article
Assign this type if a template is not used on any article (content) pages. For example, if the template is only used on talk pages, template pages, file pages, user pages, or only on your community's main page.

Examples:
 * http://theodoretugboat.wikia.com/wiki/Template:Talk_header
 * http://assassinscreed.wikia.com/wiki/Template:CC-BY-SA
 * http://rickandmorty.wikia.com/wiki/Template:Main_Page_Character_Gallery

Template Types and Categories
The Template Types feature is separate to template categories. Since the usage of such categories vary hugely across Wikia, template classification and categories do not affect each other. You can continue to use template categories exactly as the same as before.

Further help and feedback
zh:Help:模板類型 vi:Trợ giúp:Loại bản mẫu