Template:Main: Difference between revisions

Want an adless experience? Log in or Create an account.
Added documentation.
(Created page with ":<i>Main article: {{#ifeq:{{{2|}}}|{{Void}}|[[{{{1}}}]]|[[{{{1}}}{{!}}{{{2}}}]]}}</i>")
 
(Added documentation.)
Line 1: Line 1:
:<i>Main article: {{#ifeq:{{{2|}}}|{{Void}}|[[{{{1}}}]]|[[{{{1}}}{{!}}{{{2}}}]]}}</i>
:<i>Main article: {{#ifeq:{{{2|}}}|{{Void}}|[[{{{1}}}]]|[[{{{1}}}{{!}}{{{2}}}]]}}</i><noinclude>
 
==Purpose==
This template is used to create a formatted link to the main article of a certain topic.
 
==Usage==
To use this template, type: {{Desc|Optional|Page|Alternate Title}}
 
*'''''Page''''' — The page you wish to link to.
*'''''Alternate Title''''' — The text you want to display as the name of the page if it is different than the page title. If left blank it defaults to what is given as the page name.
{{Cat|Formatting Templates}}</noinclude>