Difference between revisions of "Template:About"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m (Minor code fix.)
m (Updated to use "panel" template.)
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
<div style="font-style:italic; margin-left:1.6em;">This article is about {{{1}}}. For {{{2|other uses}}}, see [[{{{3|{{PAGENAME}} (disambiguation)}}}]].</div><noinclude>
+
{{panel|This article is about {{{1}}}. For {{#if:{{{2|}}}|{{{2}}}|other uses}}, see [[{{{3|{{PAGENAME}} (disambiguation)}}}]].}}<noinclude>
 
==Documentation==
 
==Documentation==
 
<code><nowiki>{{about}}</nowiki></code> is a commonly used hatnote template, and should be placed at the top of an article, linking the reader to other articles with similar titles or concepts that they may have been seeking instead.
 
<code><nowiki>{{about}}</nowiki></code> is a commonly used hatnote template, and should be placed at the top of an article, linking the reader to other articles with similar titles or concepts that they may have been seeking instead.
  
===Usage===
+
===Examples===
<code><nowiki>{{about|Use1}}</nowiki></code>
+
{{code|<nowiki>{{about|Use1}}</nowiki>}}
<div style="font-style:italic; margin-left:1.6em;">This template is about Use1. For other uses, see [[{{PAGENAME}} (disambiguation)]].</div>
+
{{about|Use1}}
  
<code><nowiki>{{about|Use1||Article2}}</nowiki></code>
+
{{code|<nowiki>{{about|Use1||Article2}}</nowiki>}}
<div style="font-style:italic; margin-left:1.6em;">This template is about Use1. For other uses, see [[Article2]].</div>
+
{{about|Use1|other uses|Article2}}
  
<code><nowiki>{{about|Use1|Use2|Article2}}</nowiki></code>
+
{{code|<nowiki>{{about|Use1|Use2|Article2}}</nowiki>}}
<div style="font-style:italic; margin-left:1.6em;">This template is about Use1. For Use2, see [[Article2]].</div></noinclude>
+
{{about|Use1|Use2|Article2}}
 +
[[Category:Hatnote templates]]
 +
</noinclude>

Latest revision as of 13:15, 19 October 2018

Documentation

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

Examples

{{about|Use1}}

{{about|Use1||Article2}}

{{about|Use1|Use2|Article2}}