Template:About: Difference between revisions
m (add core) |
m (Automated {{Languages}} removal.) Tag: Manual revert |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 32: | Line 32: | ||
{{Translation guide|<syntaxhighlight lang="html"> | {{Translation guide|<syntaxhighlight lang="html"> | ||
{{#if: {{{1|}}} | {{#if: {{{1|}}} | ||
| This | | This {{{2}}} is about {{{1}}}. | ||
| [[Category:Incorrect template usage]] | | [[Category:Incorrect template usage]] | ||
}} | }} | ||
Line 48: | Line 41: | ||
*{{ll|Template:See}} | *{{ll|Template:See}} | ||
*{{ll|Template:About/core}} | *{{ll|Template:About/core}} | ||
*[[Wikipedia:Template:About]] | |||
}} | }} | ||
{{ll|Category:Templates}} | {{ll|Category:Templates}} | ||
</noinclude><includeonly>:[[File:PlushSpiffo.png|32px|link=]]''{{#if: {{{1|}}} | </noinclude><includeonly>:[[File:PlushSpiffo.png|32px|link=]]''{{#if: {{{1|}}} | ||
| {{tt|name = About | | {{tt|name=About | ||
| default = This {{ | | default = This {{Page ns|{{{section|}}}}} is about {{{1}}}. | ||
| arg1 = {{{1}}} | | arg1 = {{{1}}} | ||
| arg2 = {{{section|}}} | | arg2 = {{Page ns|{{{section|}}}}} | ||
}} | }} | ||
}}{{#if:{{{2|}}} | }}{{#if:{{{2|}}} |
Revision as of 14:01, 3 March 2024
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 template is about Use1.
{{About|Use1|Article2}}
- This template is about Use1. For Article2, see Template:About (disambiguation).
{{About|Use1|Use2|Article2}}
- This template is about Use1. For Use2, see Article2.
{{About|Use1|Use2|Article2|Use3|Article3}}
{{About|Use1|Use2|Article2|other uses}}
- This template 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 {{{2}}} 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.