Difference between revisions of "Template:About"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m (Added to "Hatnote templates" category.)
(Update to CSS styling.)
Line 1: Line 1:
<div style="font-style:italic; margin-left:1.6em; margin-bottom: 0.5em">This article is about {{{1}}}. For {{#if:{{{2|}}}|{{{2}}}|other uses}}, see [[{{{3|{{PAGENAME}} (disambiguation)}}}]].</div><noinclude>
+
<p style="color: #54595d; background-color: #f8f9fa; border-left: 0.5em solid #ddd; padding: 0.5em 1em; margin-bottom: 0.5em; display: table;">This article is about {{{1}}}. For {{#if:{{{2|}}}|{{{2}}}|other uses}}, see [[{{{3|{{PAGENAME}} (disambiguation)}}}]].</p><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.
  
 
===Examples===
 
===Examples===
<code><nowiki>{{about|Use1}}</nowiki></code>
+
{{code|<nowiki>{{about|Use1}}</nowiki>}}
 
{{about|Use1}}
 
{{about|Use1}}
  
<code><nowiki>{{about|Use1||Article2}}</nowiki></code>
+
{{code|<nowiki>{{about|Use1||Article2}}</nowiki>}}
 
{{about|Use1|other uses|Article2}}
 
{{about|Use1|other uses|Article2}}
  
<code><nowiki>{{about|Use1|Use2|Article2}}</nowiki></code>
+
{{code|<nowiki>{{about|Use1|Use2|Article2}}</nowiki>}}
 
{{about|Use1|Use2|Article2}}
 
{{about|Use1|Use2|Article2}}
 
[[Category:Hatnote templates]]
 
[[Category:Hatnote templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:20, 14 October 2018

This article is about {{{1}}}. For other uses, see About (disambiguation).

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}}