File:Information icon-grey.svg
This is a documentation subpage for Template:Main.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Main invokes function main in Module:Main article using Lua.

{{#ifeq:Template|Module|

{{#replace:Template:Main/doc|/doc}} is invoked by Template:Main article.{{#ifeq:{{{category}}}|no||{{#ifeq:doc|doc||}}}}

|

{{#replace:Template:Main/doc|/doc}} invokes Module:Main article using Lua.{{#ifeq:{{{category}}}|no||{{#ifeq:doc|doc||}}}}

}}

This template can be used to link to another relevant article or set of articles when there is no way to fluently link the article in prose.

Good example
==Strategies==
{{Main|/Strategies}}
Abyssal demons are weak to slash.
Bad example

Below, it makes more sense to simply link Guthix in the paragraph:

==Guthix==
{{Main|Guthix}}
Guthix is a god.

{{#if:||==Template data==}}

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

<templatedata> { "params": { "1": { "label": "Article", "description": "Article to link to", "example": "/Strategies", "type": "string", "required": true } }, "description": "This template can be used to link to another relevant article or set of articles when there is no way to fluently link the article in prose.", "format": "inline" } </templatedata>

{{#if:||}}