Difference between revisions of "Template:Main"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
imported>Default
m
 
(replaced)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
:''Main article: [[{{{1}}}]]''<noinclude>
:''Main article: [[{{{1}}}]]''<noinclude>
{{documentation}}</noinclude>
;Description
:This template is used at the start of a section to link to the main article on that subject.
;Syntax
:Type <code>{{t|main|page name}}</code>
;Sample output
:<code><nowiki>{{main|Greg Heffley}}</nowiki></code> gives...
:{{main|Greg Heffley}}
 
<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