Template:Main

Main article: [[{{{1}}}|{{{1}}}]]

Template documentation
Note: portions of the template sample may not be visible without values provided.

The {{main}} template is used after the heading of a section, to link to another article or a sub-article that is entirely about the topic of the section. For linking to a main category, {{maincat}} can be used.

Usage

This template is used immediately after a section header.

{{ main | <article title> | section = <section title> | <display text> }}

Template fields

  • 1: Main target article.
  • section: Optional. If the target is a section on another page, the title of that section.
  • 2: Optional. Display text. Defaults to "<1> → <section>" if section is specified or just "<1>" otherwise.

TemplateData

This template is used after the heading of a section, to link to another article or a sub-article that is entirely about the topic of the section.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Main article1

Main target article name

Page namerequired
Section namesection

If the target is a section on another page, the title of that section.

Linesuggested
Display text2

Override for the displayed text

Default
<1> → <section>
Lineoptional

Examples

{{main|Ash's Pikachu}}
Main article: Ash's Pikachu
{{main|Goh's Cinderace|Goh's Scorbunny}}
Main article: Goh's Scorbunny
{{main|Liko's Sprigatito|section=In the games}}
Main article: Liko's Sprigatito → In the games
{{main|Red (Masters)|section=Charizard|Sygna Suit Red & Charizard}}
Main article: Sygna Suit Red & Charizard
{{main|:Category:Fire-type Trainers}}
{{main|:Category:Water-type Trainers|Notable Water-type Trainers}}
Main article: :Category:Fire-type Trainers
Main article: Notable Water-type Trainers
{{maincat|Grass-type Trainers}}
{{maincat|Electric-type Trainers|Notable Electric-type Trainers}}
Main category: Grass-type Trainers
Main category: Notable Electric-type Trainers