Template:About: Difference between revisions
m (add core) |
m (about link from wikipedia) |
||
Line 48: | Line 48: | ||
*{{ll|Template:See}} | *{{ll|Template:See}} | ||
*{{ll|Template:About/core}} | *{{ll|Template:About/core}} | ||
*[[Wikipedia:Template:About]] | |||
}} | }} | ||
{{ll|Category:Templates}} | {{ll|Category:Templates}} |
Revision as of 10:50, 30 December 2023
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
Parameters
1
- Info about this article/section.
2
- Info about the first article.
3
- The first artcle name. If not specified but
2
is not empty, will link to the current page's disambiguation page named with the formatAbout (disambiguation)
. 4
- Info about the second article.
5
- The second artcle name. Same as
3
. section
- If set to
true
, will display "section" instead of "article" in the first sentence.
Examples
{{About|Use1}}
- This page is about Use1.
{{About|Use1|Article2}}
- This page is about Use1. For Article2, see Template:About (disambiguation).
{{About|Use1|Use2|Article2}}
- This page is about Use1. For Use2, see Article2.
{{About|Use1|Use2|Article2|Use3|Article3}}
{{About|Use1|Use2|Article2|other uses}}
- This 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 {{yesno|{{{2|}}}
| yes = section
| no = {{#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.