Template:Main/doc

From Terraria Mods Wiki
Jump to navigation Jump to search

This template is used to display a link to another page that has more information on a subject. It is usually used at the top of a subsection.

Usage

{{ main | <page name 1> | <page name 2> | ... | <page name n> | label<n> = <display text> }}

Unnamed parameters

Names of pages to link to. Use {{modpage}} to link to a page of the mod.

label1, label2, etc.

Display text for the corresponding page name.

Examples

Code Result
{{main|Terraria}}
Main article: Terraria
{{main|Terraria#Reception|label1=Terraria § Reception}}
Main article: Terraria § Reception
{{main|Terraria|Terraria 2}}
Main articles: Terraria, Terraria 2
The following examples assume that the current mod name is Orchid Mod.
{{main|{{modpage|Alchemist}}|label1=Alchemist}}
Main article: Alchemist
{{main|{{modpage|Alchemist}}|label1=Alchemist|{{modpage|Orchid Scepter}}|label2=Orchid Scepter|{{modpage|Bonds#Earth}}|label3=Bonds § Earth}}