Template:Main

From Discord Dungeons Wiki
Jump to navigation Jump to search
Main article:
Template documentation
This documentation is transcluded from Template:Main/doc. [edit] [history] [purge]
Template:Main invokes function main in Module:Main article using Lua.
{{#replace:Template:Main|/doc}} invokes Module:Main article using Lua.

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|/Items Map}}
A map of items
Bad example

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

==Health Potion==
{{Main|Health Potion}}
The health potion heals 5 hp.

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.

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Article1

Article to link to

Example
/Strategies
Stringrequired