Template:Main/en: Difference between revisions

From Bonkipedia
[[mw:]]>FuzzyBot
(Updating to match new version of source page)
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:06, 12 November 2022


Template documentation

Examples

{{Main}}
<translate> Main page:</translate> Main
{{Main|Article 1}}
<translate> Main page:</translate> Article 1
{{Main|Article 1|Article 2|Article Something#3}}
<translate> Main pages:</translate> Article 1, Article 2 and Article Something#3

Template data

[<span style="" title="<translate nowrap> View this template</translate>"><translate> view</translate> · <span style="" title="<translate nowrap> Discuss this template</translate>"><translate> talk</translate> · <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Main

This template is used to display a note directing users to the main article about a subject. This should be used at the top of a section, usually directly below a section heading.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page 11

Page name of related article. It includes Special:MyLanguage prefix.

Page namerequired
Label 1l1

Custom label for the link to Page 1.

Default
Defaults to the name of Page 1.
Stringoptional
Page 22

no description

Page nameoptional
Label 2l2

no description

Default
Defaults to the name of Page 2.
Stringoptional
Page 33

no description

Page nameoptional
Label 3l3

no description

Default
Defaults to the name of Page 3.
Stringoptional