Template:Main article/doc: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
(doc)
 
No edit summary
 
Line 1: Line 1:
Usage: <code>&#123;{main article|''page to link to''}}</code> which outputs as:
Usage: <code>&#123;{main article|''page to link to''}}</code> which outputs as:


{{main article|Page to link to}}
{{main article|page to link to}}


''Advanced usage:'' <code>&#123;{main article|text=''Use this parameter to put any text after the "Main article:", not just a single link.''}}</code>
''Advanced usage:'' <code>&#123;{main article|text=''Use this parameter to put any text after the "Main article:", not just a single link.''}}</code>

Latest revision as of 06:54, 22 August 2020

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 source]

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

Template parameters

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