Template:Main

From Terraria Wiki
Jump to navigation Jump to search
This template is i18n-ready, which means it is easy to localize for different languages. Please see I18n & l10n for templates to learn more.
See Template:Main/l10n for the localization of this template.
Important.svg
CAUTION: Terraria Wiki code is complex!!!
If you want to use this code on another wiki, wiki.gg staff are not able to assist you.
Please consider picking a different wiki to adapt code from, or making your own templates!
Remember that content on a wiki is more important than fancy formatting.
Template-info.svg Documentation The documentation below is transcluded from Template:Main/doc. (edit | history)

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 an article or subsection.

Usage

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

Unnamed parameters

Names of pages to link to. Hashes in the links (#, for linking to a section, like Guide#Names) are automatically replaced with " § ".

label1, label2, etc.

Display text for the corresponding page name.

Examples

Code Result
{{main|Terraria}}
Main article: Terraria
{{main|Terraria#Reception}}
{{main|Terraria#Reception|label1=Reception of Terraria}}
Main article: Reception of Terraria
{{main|Terraria|Terraria 2}}
Main articles: Terraria, Terraria 2
{{main|Iron Pickaxe|Iron Pickaxe/it|label2=Piccone di ferro|Iron Pickaxe/cs|label3=Železný krumpáč}}