Template:Main/doc

From MegaGlest
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[edit]

Type {{Main2|Page name1|Page name2}}. You can specify an alternative page title for the link with a second (optional) parameter, {{Main2|Page name1|NameOne=Page 1|Page name2|NameTwo=Page 2}}.

Sample output[edit]

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

Main articles: Page name1 and Page name2

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

Main articles: Page 1 and Page 2

See also[edit]