Template:Main

From OtherX
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Main/doc. [edit] [history] [purge]
Template:Main invokes function main in Module:Main article using Lua.
{{#ifeq:Template|Module|
{{#replace:Template:Main|/doc}} is invoked by Template:Main article.{{#ifeq:{{{category}}}|no||{{#ifeq:Main|doc||}}}}
|
{{#replace:Template:Main|/doc}} invokes Module:Main article using Lua.{{#ifeq:{{{category}}}|no||{{#ifeq:Main|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:||}}