Difference between revisions of "Template:About"

From Emperor's Hammer Encyclopaedia Imperia
(Created page with "<includeonly>{{#if: {{{1|}}}|This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is about {{{1}}}. {{#if: {{{2|}}}| For {{{2}}}, see [[{{{3}}}]]. {{#ifeq: {{{4}}}|other uses...")
 
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}|This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is about {{{1}}}.  {{#if: {{{2|}}}| For {{{2}}}, see [[{{{3}}}]].  {{#ifeq: {{{4}}}|other uses| For other uses see [[{{ROOTPAGENAME}}_(disambiguation)]].}}| For other uses see [[{{ROOTPAGENAME}}_(disambiguation)]].}}| For other uses see [[{{ROOTPAGENAME}}_(disambiguation)]].}}</includeonly><noinclude>
+
<includeonly>{{#if: {{{1|}}}|''This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is about {{{1}}}.  {{#if: {{{2|}}}|For {{{2}}}, see [[{{{3}}}]].  {{#ifeq: {{{4}}}|other uses|For other uses see [[{{ROOTPAGENAME}}_(disambiguation)]].}}|For other uses see [[{{ROOTPAGENAME}}_(disambiguation)]].}}|''For other uses see [[{{ROOTPAGENAME}}_(disambiguation)]].''}}</includeonly><noinclude>
 
<nowiki>{{About}}</nowiki> is a commonly used [[wikipedia:Hatnote|hatnote template]] on Wikipedia, and should be placed at the top of an article (but following a short description, if present), linking the reader to other articles with similar titles or concepts that they may have been seeking instead. The template has several formats as described on this page.
 
<nowiki>{{About}}</nowiki> is a commonly used [[wikipedia:Hatnote|hatnote template]] on Wikipedia, and should be placed at the top of an article (but following a short description, if present), linking the reader to other articles with similar titles or concepts that they may have been seeking instead. The template has several formats as described on this page.
  
Line 9: Line 9:
 
To simply link a disambiguation page for the user to follow, simple include the following code on the wiki page being edited.
 
To simply link a disambiguation page for the user to follow, simple include the following code on the wiki page being edited.
  
<code><nowiki>{{About}}</nowiki></code>
+
:<code><nowiki>{{About}}</nowiki></code>
  
 
This will result in:
 
This will result in:
  
{{About}}
+
:<code>{{About}}</code>
  
 
===Disambiguation Redirect with Simple Description===
 
===Disambiguation Redirect with Simple Description===
 
The following will give a redirect link and a simple description, use the following code.
 
The following will give a redirect link and a simple description, use the following code.
  
<code><nowiki>{{About|Use1}}</nowiki></code>
+
:<code><nowiki>{{About|Use1}}</nowiki></code>
  
 
Typing <nowiki>{{About|the template for About style redirects}}</nowiki> results in:
 
Typing <nowiki>{{About|the template for About style redirects}}</nowiki> results in:
  
  
{{about|the template for About style redirects}}
+
:<code>{{about|the template for About style redirects}}</code>
  
 
===Direct Linking with Simple Description and Optional Disambiguation===
 
===Direct Linking with Simple Description and Optional Disambiguation===
 
Finally, the following code will allow authors to include a description, and directly link a user to a specific article.  Optionally, by including the term 'other uses' as the last parameter, a disambiguation link will also be included.  Please note that by including the parameter Use2, it is expected that you have Article2 also filled.
 
Finally, the following code will allow authors to include a description, and directly link a user to a specific article.  Optionally, by including the term 'other uses' as the last parameter, a disambiguation link will also be included.  Please note that by including the parameter Use2, it is expected that you have Article2 also filled.
  
<code><nowiki>{{About|Use1|Use2|Article2|other uses}}</nowiki></code>
+
:<code><nowiki>{{About|Use1|Use2|Article2|other uses}}</nowiki></code>
  
 
Typing <nowiki>{{about|the template for About style redirects|the template "You may"|Template:Youmays}}</nowiki> results in:
 
Typing <nowiki>{{about|the template for About style redirects|the template "You may"|Template:Youmays}}</nowiki> results in:
  
<code>{{about|the template for About style redirects|the template "You may"|Template:Youmay}}</code>
+
:<code>{{about|the template for About style redirects|the template "You may"|Template:Youmay}}</code>
  
 
Optionally, typing <nowiki>{{about|the template for About style redirects|the template "You may"|Template:Youmay|other uses}}</nowiki> results in:
 
Optionally, typing <nowiki>{{about|the template for About style redirects|the template "You may"|Template:Youmay|other uses}}</nowiki> results in:
  
<code>{{about|the template for About style redirects|the template "You may"|Template:Youmay|other uses}}</code>
+
:<code>{{about|the template for About style redirects|the template "You may"|Template:Youmay|other uses}}</code>
  
 
__NOTOC__
 
__NOTOC__
 
[[Category:Disambiguation and redirection templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Disambiguation and redirection templates|{{PAGENAME}}]]</noinclude>

Revision as of 20:48, 24 July 2022

{{About}} is a commonly used hatnote template on Wikipedia, and should be placed at the top of an article (but following a short description, if present), linking the reader to other articles with similar titles or concepts that they may have been seeking instead. The template has several formats as described on this page.

Usage

This template has multiple formats depending on the use the author wants to include.

Simple Disambiguation Redirect

To simply link a disambiguation page for the user to follow, simple include the following code on the wiki page being edited.

{{About}}

This will result in:

For other uses see About_(disambiguation).

Disambiguation Redirect with Simple Description

The following will give a redirect link and a simple description, use the following code.

{{About|Use1}}

Typing {{About|the template for About style redirects}} results in:


This page is about the template for About style redirects. For other uses see About_(disambiguation).

Direct Linking with Simple Description and Optional Disambiguation

Finally, the following code will allow authors to include a description, and directly link a user to a specific article. Optionally, by including the term 'other uses' as the last parameter, a disambiguation link will also be included. Please note that by including the parameter Use2, it is expected that you have Article2 also filled.

{{About|Use1|Use2|Article2|other uses}}

Typing {{about|the template for About style redirects|the template "You may"|Template:Youmays}} results in:

This page is about the template for About style redirects. For the template "You may", see Template:Youmay.

Optionally, typing {{about|the template for About style redirects|the template "You may"|Template:Youmay|other uses}} results in:

This page is about the template for About style redirects. For the template "You may", see Template:Youmay. For other uses see About_(disambiguation).