Template:Main/doc: Difference between revisions

From Shadowrun Wiki
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
Line 13: Line 13:
</pre>
</pre>
Will display:
Will display:
:''Main article: [[Knights of the Inner Sphere]]''
:''Main article: [[Saeder-Krupp]]''




(The example can be seen [[Free Worlds League Military#Knights of the Inner Sphere|here]].)
(The example can be seen [[Saeder-Krupp|here]].)


<includeonly>
<includeonly>

Revision as of 08:37, 12 March 2024

[[Category:Template documentation pages{{#translation:}}]]

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: Saeder-Krupp


(The example can be seen here.)