Template:Main: Difference between revisions

→‎Usage: example
(→‎Usage: pre > code)
(→‎Usage: example)
 
(4 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
<code><nowiki>{{Main|Welcome}}</nowiki></code>
<code><nowiki>{{Main|Welcome}}</nowiki></code>
;''Output
;''Output
Line 11: Line 11:


==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>