Skyrim Main Quest Overhaul Wiki:Templates

There are many templates in use at. This page lists many of them. If there seems to be an existing template missing, feel free to add it to this page.
 * Category:Templates should cover all templates in the wiki, categorized into the various subcategories.
 * The Template namespace (found from Special:Allpages) always has all templates in the wiki, sorted alphanumerically.

What are templates?
Wiki templates provide a means to insert the same content over and over in different (or the same) pages. This saves editors the hassle of duplicating the same text again and again, and also helps ensure consistency.

Templates are generally shown with the format required to use the template (e.g. ). Clicking the template name takes you to the template's page, where you can see what it looks like and how it is used.

How to use templates?
Templates can be added in different ways:
 * Write the wikitext yourself.
 * Use the "Add other templates" at the right side of the text editor when in Visual Mode.
 * Use a preloadable layout which will insert the correct infobox to the page, along with the rest of the article default layout of the corresponding type.

When writing the wikitext yourself, it's important to remember that the the first letter of the template name is case insensitive, but the rest are case sensitive.

Documentation
Detailed documentation of the usage of each template can be found at the corresponding template page. Much time has been spent one writing this documentation, so if you need more information about a particular template, search 'Template:'.

For more information on templates, see Help:Templates.

Article management templates
Article management templates should always be added at the top of the page.

Articles needing attention
reason
 * When a page needs attention, add this template to the page. This template will include them in Category:Pages needing attention, and is used to list which articles need attention.

Nominate an article for deletion
reason
 * Add this to an article to nominate it for deletion. It will add the article to Category:Candidates for deletion.

Disambiguation articles
disambig
 * If you have several articles that have similar or identical names, you may wish to create a "disambiguation" page at the main article name, with the articles taking an extra phrase in brackets afterwards. For example:
 * Paarthurnax <-- disambiguation page, with links to:
 * Paarthurnax (Character)
 * Paarthurnax (Quest)


 * Using disambig marks an article as a disambiguation page by adding a banner to the article and categorizing it under Category:Disambiguations. Add links to the various articles under the banner.
 * For more information, see Help:Disambiguation.

Notice
text
 * Allows the writer to tell the reader something about the article. This is mostly used to imply articles are outdated or the article's subject won't be included in the mod.

Stubs
stub
 * When a page has little or no useful information, then it is likely a stub. This template will include them in Category:Stub articles, and is used to list which articles need expanding.
 * For more information, see Help:Stubs.

Clear
clr, plus clrl and clrr
 * This template is used to reduce the amount of non-wikicode used on pages, replacing the code . Its use should generally be avoided.
 * You can use clr instead of the HTML tag that clears space below things like images, pictures and tables, so the following stuff doesn't begin until the bottom of the image, picture or table box.
 * You can also use clrl or clrr to clear only left or right floats.

Fold
Title
 * Type this to mark the start of the collapsible table.
 * Collapsed is a named parameter, use it like this: " ". When it contains any value, the table will be collapsed when the page is first visited.

FoldEnd
 * Type this at the end of the collapsible table.
 * Everything between Fold and FoldEnd will be collapsible.

For
name
 * Use at the top of articles as a simple "for x see y" template.
 * For more information, see Template:For/doc.

Main article
main article
 * Use at the start of a section to link to the main article on it.

Right-aligned Table of Contents
tocright
 * This template floats the table of contents (toc) on the right. It should only be used when absolutely necessary, to keep consistent design.

Sandbox
sandbox
 * A template that should be used to head up all Project:Sandbox pages.

T is for template
template
 * This template allows you to show example template code (with a link to the templates) without using the template itself. It is used extensively on this page.

Tocright
tocright
 * This will move the Table of Content to the right, at the location where this template is used.

Infobox templates
This is a list of all the Skyrim related infoboxes. Listing their syntax would make this very long, so instead, links to their documentation are provided. If you need an infobox that's not on this list, contact an administrator

SkyrimArmors
Parameters
 * Infobox for armor pages.
 * For more information, see Template:SkyrimArmors/doc.

SkyrimBooks
Parameters
 * Infobox for book pages.
 * For more information, see Template:SkyrimBooks/doc.

SkyrimItems
Parameters
 * Infobox for item pages.
 * For more information, see Template:SkyrimItems/doc.

SkyrimLocations
Parameters
 * Infobox for location pages.
 * For more information, see Template:SkyrimLocations/doc.

SkyrimNPCs
Parameters
 * Infobox for character pages.
 * For more information, see Template:SkyrimNPCs/doc.

SkyrimQuests
Parameters
 * Infobox for quest pages.
 * For more information, see Template:SkyrimQuests/doc.

SkyrimWeapons
Parameters
 * Infobox for weapon pages.
 * For more information, see Template:SkyrimWeapons/doc.

Layout templates
These templates are used when you click on of the "Preloadable layouts" when you create a new page. They add the standard layout to the editor so all the pages have a similar layout.

One thing to note is the Layout/RemoveCat template. This template is used within the preloadable layout templates, but when using one of those, it will be included in the editor as well. To keep it simple, just remove the " " line completely and that is all you need to know. For more information, read Template:Layout/RemoveCat/doc

Utility templates

 * See also: AllYouNeedToKnow

These templates are to make life on this wiki easier. This can be thought of in two ways, either from a writers perspective or a maintenance perspective. Only those for the writers perspective will be included (since that most likely what you're interested in, right?).

TES
Page Display
 * This creates a link to the specified page on The Elder Scrolls Wiki.
 * This creates a link to The Elder Scrolls Wiki but with a different displayed text. This is mostly used to link to pages which have the suffix.

Map
Place
 * This creates a link to the UESP Skyrim Map searching for the specified place. It is advisable to make sure the links point to the right location.

Timeline
Year
 * This creates a link to the Timeline article, referencing to the specified year.

Skill
Skill
 * This links to the specified skill page on The Elder Scrolls Wiki. Correct input is required, but lower or upper case doesn't matter.

Race
Race
 * This links to the specified race page on The Elder Scrolls Wiki. Correct input is required, but lower or upper case doesn't matter.

Weapon Type
Weapon Type
 * This links to the specific weapon type page on The Elder Scrolls Wiki.

ValueList
Value
 * You won't really use this template knowingly. It is built in with many infobox templates. It replaces comma's with enters, so you don't have to write all those   tags. To circumvent this behavior, instead of typing a comma, type   where you want the comma's.

Category templates
These templates are used in category pages.

General category template
category
 * This can be added to categories to add general categorizing details. Use in cases where it may be useful to point out to users how to categorize, such as popular categories.

Template category template
templatecategory
 * This should be added to any template-related categories, to list template-specific categorizing details, which differ from those of normal pages.

Request
If you want to request a template, you should ask one of the Administrators. Go to the talk page of the administrator and make a detailed description of the template you would like to have creation. If you want to request a template which is present at another wiki, include a link to the template (search for Template: on that wiki). Before requesting, make sure you've read this page!

Things to include in your request:
 * Syntax: The name and parameters of the template, including whether parameters are optional.
 * Layout: A detailed description on how everything is presented, including color, (optional) headers etc.
 * And any other details specific to that template e.g. categories.

Where you can find more templates

 * Wikia Templates
 * Wikipedia; may be copied with the proper acknowledgment, but some need tweaking to work properly on Wikia, so use a Wikia one if possible.