Template:Main: Difference between revisions

+trim white spaces; -"name" parameter (I don't suppose it's used anywhere)
ArrowHead294 (talk | contribs)
mNo edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
:''Main article: [[{{trim| {{{1|}}} }}]]''<noinclude>
<includeonly>: ''{{#invoke: Labelled_list_hatnote|labelledList|Main article|Main articles|Main page|Main pages}}''</includeonly><noinclude>
 
{{documentation}}
The '''main''' template is used within a section about some topic to link an article entirely dedicated to the same topic.
 
== Usage ==
Use an unnamed argument for the page you want to link to:
 
<nowiki>{{Main|</nowiki> ''Some page'' }}
 
to get
 
:''Main article: [[Special:Random|Some page]]''
 
== Related templates ==
* [[Template: See also]]
* [[Template: Distinguish]]
 
[[Category:Templates]]


[[Category:Hatnote templates]]
</noinclude>
</noinclude>