Template:Main/doc: Difference between revisions

Template page
x>BakiDance
(Created page with "{{Documentation|fromWikipedia=true}} This template is used at the start of a section to link to the main article on that subject. ==TemplateData== <templatedata> { "description": "This template is used after the heading of a section, to link to a sub-article (or sub-articles) that is entirely about the topic of the section. The template will display, in italics, \"Main article: Article 1, Article 2 and Article 3\"", "params": { "1": { "label": "Page 1", "des...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 00:26, 23 May 2024

This template is used at the start of a section to link to the main article on that subject.

TemplateData

This template is used after the heading of a section, to link to a sub-article (or sub-articles) that is entirely about the topic of the section. The template will display, in italics, "Main article: Article 1, Article 2 and Article 3"

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Page 11

The name of the first page that you want to link to. If this is not specified, the current page name (with no namespace prefix) is used instead.

Page namesuggested
Page 22

The name of the second page that you want to link to.

Page nameoptional
Page 33

The name of the third page that you want to link to. More pages can be added using the parameters "4", "5", etc.

Page nameoptional
Label 1l1 label 1

What the first linked page is to be displayed as.

Stringoptional
Label 2l2 label 2

What the second linked page is to be displayed as.

Stringoptional
Label 3l3 label 3

What the third linked page is to be displayed as. Other labels can be added by using increasing numbers (starting with "l4" for page 4) as parameter names.

Stringoptional
Self referenceselfref

Set to "yes" if the template is a self-reference to Wikipedia that would not make sense on mirrors or forks of the Wikipedia site.

Booleanoptional