Template:Main/doc

From MegaGlest
< Template:Main
Revision as of 06:10, 18 June 2011 by Hofmic (talk) (Created)
Jump to: navigation, search

This is a modification of Template:Main, which lets it show two main articles (has to be exactly two). Note that the alternative names are specified differently here!

Syntax

Type {{Main|Page name1|Page name2}}. You can specify an alternative page title for the link with a second (optional) parameter, {{Main|Page name1|Page name2}}.

Sample output

{{Main|Page name1|Page name2}} gives...

Main article: Page name2

{{Main|Page name1|NameOne=Page 1|Page name2|NameTwo=Page 2}} gives...

Main article: Page name1

See also