Difference between revisions of "Template:Main"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
(integrated documetnation)
(replaced)
 
Line 5: Line 5:
:Type <code>{{t|main|page name}}</code>
:Type <code>{{t|main|page name}}</code>
;Sample output
;Sample output
:<code><nowiki>{{main|Help:Contents}}</nowiki></code> gives...
:<code><nowiki>{{main|Greg Heffley}}</nowiki></code> gives...
:{{main|Help:Contents}}
:{{main|Greg Heffley}}


<noinclude>[[Category:General wiki templates|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Formatting templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 03:23, 14 September 2019

Main article: [[{{{1}}}]]
Description
This template is used at the start of a section to link to the main article on that subject.
Syntax
Type {{main|<page name>}}
Sample output
{{main|Greg Heffley}} gives...
Main article: Greg Heffley