Difference between revisions of "Template:Main"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
(Created page with "<div style="font-style: italic; padding-left: 1.6em; margin-bottom: 0.5em;">Main article: [[{{{1|{{PAGENAME}}}}}]]</div><noinclude> ==Usage== Use this template at the beginnin...")
 
m
 
Line 1: Line 1:
<div style="font-style: italic; padding-left: 1.6em; margin-bottom: 0.5em;">Main article: [[{{{1|{{PAGENAME}}}}}]]</div><noinclude>
+
<div style="font-style: italic; padding-left: 1.6em; margin-bottom: 0.5em;">Main article: [[:{{{1|{{PAGENAME}}}}}]]</div><noinclude>
 
==Usage==
 
==Usage==
 
Use this template at the beginning of a section within a long article, where the section covers something that is covered in more detail in its own article.
 
Use this template at the beginning of a section within a long article, where the section covers something that is covered in more detail in its own article.
 +
 +
Categories can be linked to by use of the [[wikipedia:Help:Colon trick|colon trick]].
 
==Examples==
 
==Examples==
 
<code><nowiki>{{Main}}</nowiki></code> →
 
<code><nowiki>{{Main}}</nowiki></code> →
Line 7: Line 9:
 
<code><nowiki>{{Main|Article}}</nowiki></code> →
 
<code><nowiki>{{Main|Article}}</nowiki></code> →
 
{{Main|Article}}
 
{{Main|Article}}
 +
<code><nowiki>{{Main|Category:Hatnote templates}}</nowiki></code> →
 +
{{Main|Category:Hatnote templates}}
 
[[Category:Hatnote templates]]
 
[[Category:Hatnote templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:04, 10 October 2018

Main article: Main

Usage

Use this template at the beginning of a section within a long article, where the section covers something that is covered in more detail in its own article.

Categories can be linked to by use of the colon trick.

Examples

{{Main}}

Main article: Main

{{Main|Article}}

Main article: Article

{{Main|Category:Hatnote templates}}

Main article: Category:Hatnote templates