Template:Main article

Revision as of 06:52, 22 August 2020 by Saucy (talk | contribs) (Created page with "{{hatnote|Main article: {{#if:{{{text|}}}|{{{text}}}|[[{{{1}}}]]}}}}<noinclude>{{documentation}}Category:Hatnote templates</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation

Usage: {{main article|page to link to}} which outputs as:

Advanced usage: {{main article|text=Use this parameter to put any text after the "Main article:", not just a single link.}}

Template data Edit

Adds a hatnote containing "Main article:" followed by a link to a page

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page to link to1

no description

Page namesuggested
texttext

Overrides parameter 1. Allows you to put any text after the "Main article:", not just a single link.

Contentoptional