Template:Main

From PZwiki
Notebook.pngTemplate Documentation

When an article is large, it is often written in summary style. This template is used after the heading of the summary, to link to the subtopic article that has been summarized.

Usage

Parameters

1 Required
The name of the first page that you want to link to.
2
The name of the second page that you want to link to.
3
The name of the third page that you want to link to.
A maximum of 3 pages will be displayed.
l1
What the first linked page is to be displayed as.
l2
What the second linked page is to be displayed as.
l3
What the third linked page is to be displayed as.
A maximum of 3 links will be displayed.

Examples

  • {{Main|Project Zomboid Wiki}}
Main article: Project Zomboid Wiki
  • {{Main|Project Zomboid Wiki|l1=Main}}
Main article: Main
  • {{Main|Project Zomboid Wiki|Items}}
Main articles: Project Zomboid Wiki, Items

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1}}}
| main_article = Main article
| main_articles = Main articles
| #default = [[Category:Incorrect template usage]]
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.