Autonauts Wiki
Advertisement

There are many templates in use in the Autonaut's Wiki; these are only some of the more common ones. If you feel that a template belongs on this page, do not hesitate to add it.

Note that most templates are difficult to use if you aren't using the Source Editor (and you have no choice but use that editor when creating or editing template code). If you like, you can change your default editor in your preferences.

For more information on templates, see Help:Templates.

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. For instance, updating a single navbox (ex Template:Item_Navbox) updates it for every article that uses it, saving tons of copying and pasting.

Usage[]

To use a template, you type in {{TemplateName}} in the place you want the template's output to be placed. For example, placing {{delete}} (see #Nominate an article for deletion) at the top of a page's source places the "This article is nominated for deletion" box at that location. (Note that capitalization matters except for the first character, which is always converted to a capital letter -- this applies to links as well.)

Each template has documentation on its own page that demonstrates how to use it. Templates are found in the "Template" namespace, so if you know the name of the template (ex "Icon"), simply go to http://autonauts.wikia.com/wiki/Template:Icon to see it.

Article management templates[]

Nominate an article for deletion[]

{{delete}}

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:
The Prince <-- disambiguation page, with links to:
The Prince (frog)
The Prince (human)

Template documentation[]

Documentation template[]

{{documentation}}

  • Used on many template pages to allow the management of its documentation on a separate page. (Note: if a template doesn't use this template, the documentation should at least be on the template page in 'noinclude' tags

T is for template[]

{{t|<template>}}

  • This template allows you to show template syntax or usage examples (with a link to the templates) without using the template itself. It is used extensively on this page.

Templates commonly used in the Autonauts Wiki[]

Icons[]

{{icon|<Object Name>}}, ex: {{icon|Folk}}Folk

  • Shows an icon of Object Name
  • Clicking on it sends you to the page

{{ni|<Object Name>}}, ex {{ni|Folk}}Folk Folk

  • Same as the icon template, but also has the name listed after. It should be used whenever you would otherwise have {{icon|Object Name}}[[Object Name]].

Infoboxes[]

There are a variety of infoboxes in use by the Autonauts Wiki, each describing various aspects of the article they reside on. Commonly used infoboxes include:

For all existing infobox templates, you can go here and then use Ctrl+f to search for "Infobox".

Navboxes[]

There are a variety of navboxes in use by the Autonauts Wiki, each linking related articles together. For instance, the {{Game Concept Navbox}} is at the bottom of every article based on a "game concept" and provides links to the other game concepts. For a full list of navboxes, see Category:Templates navigational.

Versions[]

{{Version|<VersionNumber>}} is found at the top of most pages, specifying for what Autonauts game version the page was last updated. It produces a small box explaining how accurate the article is. Once the current version number is updated in this template (when the next update for the game comes out), this template will automatically put all non-updated pages under Category:Potentially outdated.

{{VersionName|<VersionNumber>}} produces the name of that version, ex. {{VersionName|21}} → "Tito"

{{VersionLabel|<VersionNumber>}} is useful when you want to refer to a version within an article, ex. {{VersionLabel|21}} → Version 21 ("Tito")

Recipes[]

{{Recipe}} can be used to show a recipe in the main article for an object.

{{InfoRecipe}} shows that same recipe in a condensed visual format suitable for infoboxes.

Both Recipe templates automatically add "Usage" categories. To take advantage of this, include {{SeeUsage}} as the first line in a "Uses" or "Usage" section for any object involved in recipes (including buildings, animals, and tools).

Building Size[]

{{Building Size}} should be used on every building page to show how much space the building takes up.

Where you may find more templates[]

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