Template:About: Difference between revisions

From PZwiki
(update)
m (minor)
Line 23: Line 23:
     | 0 = article
     | 0 = article
     | 14 = category
     | 14 = category
     | page
     | #default = page
     }}
     }}
   }} is about {{{1}}}.
   }} is about {{{1}}}.

Revision as of 10:09, 28 December 2023

Notebook.pngTemplate Documentation

This is a commonly used hatnote template, and should be placed at the top of an article or a section, linking the reader to other articles with similar titles or concepts that they may have been seeking instead.

Usage

The template has several formats, including:

PlushSpiffo.pngThis page is about Use1.
PlushSpiffo.pngThis page is about Use1. For Article2, see Template:About (disambiguation).
  • {{About|Use1|Use2|Article2}}
PlushSpiffo.pngThis page is about Use1. For Use2, see Article2.
  • {{About|Use1|Use2|Article2|Use3|Article3}}
PlushSpiffo.pngThis page is about Use1. For Use2, see Article2. For Use3, see Article3.
  • {{About|Use1|Use2|Article2|other uses}}
PlushSpiffo.pngThis page is about Use1. For Use2, see Article2. For other uses, see Template:About (disambiguation).

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#if: {{{1|}}}
| This {{#if: {{{2|}}}
  | section
  | {{#switch: {{NAMESPACENUMBER}}
    | 0 = article
    | 14 = category
    | #default = page
    }}
  }} is about {{{1}}}.
| [[Category:Incorrect template usage]]
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.