Template:Main/doc

From Discord Dungeons Wiki
< Template:Main
Revision as of 13:50, 31 March 2022 by Mackan (talk | contribs) (Created page with "{{Documentation}} {{Invokes|Main article}} 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 <pre> ==Strategies== {{Main|/Items Map}} A map of items </pre> ;Bad example Below, it makes more sense to simply link Health Potion in the paragraph: <pre> ==Health Potion== {{Main|Health Potion}} The health potion heals 5 hp. </pre> {{TemplateData|<templatedata> { "...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.
{{#replace:Template:Main/doc|/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