Difference between revisions of "Template:Main/doc"

m (Spelling)
m (Text replacement - "<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>" to "{{Documentation subpage}}")
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
+
{{Documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
  

Revision as of 20:28, 30 April 2023

Purpose

Some articles are broken out from larger articles as a means of conserving space, easing readability and providing clarity. In those cases, it is proper to link back to the original article from which the subject article is introduced. While behaving similarly to the function of categories, the use of the {{main}} template is to recognize the direct relationship with an article of broader scope.

Usage

To link to a "main article" on a topic, use {{main|The other article}}, replacing 'the other article' with the actual name of the main page.

Example

{{main|Knights of the Inner Sphere}}

Will display:

Main article: Knights of the Inner Sphere


(The example can be seen here.)