Template:Main: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(cat)
(→‎Usage: example)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
:''Main page: [[{{{1|}}}]]''<noinclude>
:''Main page:'' '''[[{{{1|}}}]]'''<noinclude>


==Purpose==
==Purpose==
This [[:Category:Templates|template]] is used 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 [[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}}


[[Category:Templates]]
==See also==
[[Category:Shortcut templates]]</noinclude>
*[[Template: This]]
*[[Template: Not]]
*[[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