Fandom

Gran Turismo Wiki

Gran Turismo Wiki:Templates

3,586pages on
this wiki
Add New Page
Talk0

There are many templates in use in Gran Turismo Wiki and these are only subset, representing some of the most important and commonly used ones. If you feel that a template belongs on this page, do not hesitate to add it.

  • Category:Templates should list all templates in the wiki, categorized into the various subcategories.
  • The Template namespace always has all templates in the wiki, unsorted.

What are templates? Edit

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. {{stub}}). Clicking the template name takes you to the template's page, where you can see what it looks like and how it is used.

Detailed instructions on the usage of each template should exist on either the template page itself (inside "noinclude" tags) or the template's talk page.

Template border colors Edit

Gran Turismo Wiki uses a unique system of changing templates' border colors to classify them in order of importance. This is in order to keep the templates more organized and uniform-looking. If a template looks too much like another one, users are free to change the image on the left side of the template. The border colors are, in order of importance, blue, green, yellow, and red.

Blue-border templatesEdit

Blue-border templates are used simply to state a fact that the reader should know. For instance, a blue-border template can be used to list the author(s) of text which has been copy-pasted into an article. It does not request an edit to the page.

Green-border templatesEdit

Green-border templates are used to display messages of minor importance, such as requests for small edits. The article is in no danger of being deleted due to an issue brought up in a green-border template.

Yellow-border templatesEdit

A yellow-border template displays a message which is more important than a green-border template, but not quite worthy of a red border. For instance, Template:Construction warns readers that an article or section may change drastically over time, and warns users to refrain from editing it unless the edit is valid to the construction of the page. As with a green template, the article itself is in no danger of being deleted due to an issue outlined in a yellow-border template, but it may change drastically.

Red-border templatesEdit

A red-border template is used to detail an issue which is so severe that the article may require a substantial or total rewrite in order to be fixed. Unlike the other three border colors, an article or page which has a red template on it is in direct danger of being deleted.

ExamplesEdit

Below are examples of templates with different border colors. Each template has its source code above it for your convenience.

Blue-borderEdit

{| align=center border=0 cellpadding=3 cellspacing=3 style="border: 1px solid blue; background-color: black;" |- | [[File:Information.png|50px|left]] | style="font-size: 90%" | <font color=white>This is a blue-border template. It is used to display information about an article or page, such as to credit authors of text which has been copy-pasted from another website which uses CC-BY-SA or GNU Free Documentation licensing, and does not request a change to the article or page. </font> |}<br />

Information
This is a blue-border template. It is used to display information about an article or page, such as to credit authors of text which has been copy-pasted from another website which uses CC-BY-SA or GNU Free Documentation licensing, and does not request a change to the article or page.


Green-borderEdit

{| align=center border=0 cellpadding=3 cellspacing=3 style="border: 1px solid green; background-color: black;" |- | http://images3.wikia.nocookie.net/__cb20110301214010/gran-turismo/images/5/5f/Exclamation_point_green.png | style="font-size: 90%" | <font color=white>This is a green-border template. It is used mainly to display requests for small edits, or to display other non-critical messages. </font> |}

Exclamation_point_green.png This is a green-border template. It is used mainly to display requests for small edits, or to display other non-critical messages.


Yellow-borderEdit

{| align=center border=0 cellpadding=3 cellspacing=3 style="border: 1px solid yellow; background-color: black;" |- | http://images3.wikia.nocookie.net/__cb20101204052449/gran-turismo/images/5/54/Exclamation_point_yellow.png | style="font-size: 90%" | <font color=white>This is a yellow-border template. It is used to display messages which are of more importance to the article than a green-border template, but not quite important enough for a red-border template. </font> |}<br />

Exclamation_point_yellow.png This is a yellow-border template. It is used to display messages which are of more importance to the article than a green-border template, but not quite important enough for a red-border template.

Red-borderEdit

{| align=center border=0 cellpadding=3 cellspacing=3 style="border: 1px solid red; background-color: black;" |- | http://images4.wikia.nocookie.net/gran-turismo/images/6/63/Exclamation_point_red.png | style="font-size: 90%" | <font color=white>This is a red-border template. It is used to display messages of utmost importance to the article. Usually, if you see one of these, it means that the issues listed in it must be fixed soon or the article is in danger of being deleted. </font> |}<br />

Exclamation_point_red.png This is a red-border template. It is used to display messages of utmost importance to the article. Usually, if you see one of these, it means that the issues listed in it must be fixed soon or the article is in danger of being deleted.



Article management templatesEdit

Nominate an article for deletionEdit

{{delete}}

Disambiguation articles Edit

{{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)

StubbingEdit

{{stub}}

  • When a page has little or no useful information, then it is likely a stub. This template will include them in Category:Article stubs, and is used to list which articles need expanding.

Category templates Edit

General category template Edit

{{category}}

  • This can be added to categories to add general categorising details. Use in cases where it may be useful to point out to users how to categorise, such as popular categories.

Template category template Edit

{{templatecategory}}

  • This should be added to any template-related categories, to list template-specific categorising details, which differ from those of normal pages.

General wiki templates Edit

Clear Edit

{{clr}}, plus {{clrl}} and {{clrr}}

  • This template is used to reduce the amount of non-wikicode used on pages, replacing the code <br style="clear:both;" />. 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.

For Edit

{{for|<name>|<link>}}

  • Use at the top of articles as a simple "for x see y" template.

Main article Edit

{{main|<main article>}}

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

Right-aligned Table of Contents Edit

{{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 Edit

{{sandbox}}

T is for template Edit

{{t|<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.

Welcome Edit

{{welcIP}} and {{welcome}}

  • The first (with longer version "welcomeIP" for those of you who like typing more) is to welcome new non-vandalistic contributors who are "anonymous", identified only by their IP number; it encourages them to register.
  • The second template is for welcoming new registered users. Should be customized for the wiki, indicating the pages we most want newcomers to visit.
  • The above two templates are very suitable for having "subst:" prefixed, because they can be edited with additions or deletions appropriate to the apparent strengths of the person being welcomed; e.g. if the contributor has already demonstrated good wiki editing skills you could delete references to pages about "how to edit".

Wikipedia Edit

{{wikipedia}}, {{wikipedia-deleted}}

  • Wikipedia-related templates. Use {{wikipedia}} for articles taken directly from Wikipedia, and {{wikipedia-deleted}} for articles deleted from Wikipedia.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.