Jump to content

Grigoripedia:Templates

From Grigoripedia
Revision as of 12:41, 21 June 2026 by Archivist (talk | contribs)

Templates are reusable pieces of wiki markup language used to format pages, display important notices, create navigation links, and automatically organize articles for maintenance purposes.

Templates are stored in the Template: namespace, and they can be added to pages by placing the template name inside double braces. For example:

{{Stub}}

Templates keep Grigoripedia consistent and professional by allowing the same message, layout, or formatting style to be reused on any page. They also make page creation and upkeep much easier.

Common templates

Notice templates display important notices on an article. They should usually not be removed.

Article notices may be content warnings or other notices.

Content warning templates include:

  • {{Mature content warning}} — a warning that an article or section contains mature content with significant sexual themes.
  • {{Sensitive content warning}} — a warning that an article or section contains content that is sensitive or potentially disturbing to some people.
  • {{Special content warning}} — a customizable content warning about an article or section.

General notice templates include:

Navigation (nav) templates help readers move between related pages.

  • {{Main}} — links to the main article for a topic that has a section in another article.
  • {{See also}} — links to related articles.
  • {{Distinguish}} — notes that an article should not be confused with another topic.

Work templates identify pages that need editing, expansion, cleanup, sourcing, or other maintenance work. They usually add articles to their corresponding maintenance categories when applied. All articles with work templates applied can be found by navigating the category tree in Category:Needs work.

Regular work templates include:

Page element work templates include:

Serious issue work templates include:

Creating templates

To create a new template, make a new page in the Template: namespace. For example:

Template:Example

A template can then be used on another page with:

{{Example}}

Template notes or documentation should usually be placed inside <noinclude> tags so that the documentation appears only on the template page itself. If this is omitted, it will appear everywhere the template is used.

Categories that should apply to all pages using the template should usually be placed inside <includeonly> tags.

Template documentation

Basic template documentation should at least explain:

  • what the template does;
  • where it should be used;
  • what category or categories it adds, if any;
  • any parameters the template accepts.

See also