Template:Main: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(→‎Usage: example)
 
(One intermediate revision 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}} 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

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