Template:Main: Difference between revisions

→‎Usage: example
(See also section)
(→‎Usage: example)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:


==Purpose==
==Purpose==
This {{tag|Shortcut templates|shortcut template}} is used ideally at the <u>top</u> of article pages or [[Special:Categories|categories]] to show readers the main, primary article of any related subject or [[:Category:Wiki Topic|topic]].  See also [[wp:Template:Main|template:Main]] on the [[English Wikipedia]].
This {{tag|hatnote template}} is used ideally at the <u>top</u> of article pages or [[Special:Categories|categories]] to show readers the main, primary article of any related subject or [[:Category:Wiki Topic|topic]].  See also {{Wp|template:Main}} on the [[English Wikipedia]].


==Usage==
==Usage==
;Code
;''Code example
<pre><nowiki>{{Main|Welcome}}</nowiki></pre>
<code><nowiki>{{Main|Welcome}}</nowiki></code>
;Output
;''Output
{{Main|Welcome}}
{{Main|Welcome}}


==See also==
==See also==
*[[Template:Parent category]]
*[[Template: This]]
*[[Template:For]]
*[[Template: Not]]
*[[Template:See also]]</noinclude>
*[[Template: Parent category]]
*[[Template: For]]
*[[Template: See also]]
*[[WikiIndex: Merge policy]]</noinclude>