Template:Main: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Added documentation.)
No edit summary
Line 1: Line 1:
:<i>Main article: {{#ifeq:{{{2|}}}|{{Void}}|[[{{{1}}}]]|[[{{{1}}}{{!}}{{{2}}}]]}}</i><noinclude>
<onlyinclude>{{Hatnote|Main article: {{#ifeq:{{{2|}}}|{{Void}}|[[{{{1}}}]]|[[{{{1}}}{{!}}{{{2}}}]]}}}}</onlyinclude>


==Purpose==
==Purpose==
Line 5: Line 5:


==Usage==
==Usage==
To use this template, type: {{Desc|Optional|Page|Alternate Title}}
To use this template, type: {{Usage|Page|Alternate Title}}
{{Usage/Param|Page|The page you wish to link to.}}
{{Usage/Param|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.|optional}}


*'''''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}}
{{Cat|Formatting Templates}}</noinclude>