Template:Main: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(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>

Latest revision as of 07:40, 17 July 2023

Main page: [[]]

Purpose

This hatnote template is used ideally at the top of article pages or categories to show readers the main, primary article of any related subject or topic. See also template:Main on the English Wikipedia.

Usage

Code example

{{Main|Welcome}}

Output
Main page: Welcome

See also