Template:Main/doc: Difference between revisions

From Starfy Wiki
Jump to navigationJump to search
m 1 revision
No edit summary
Line 4: Line 4:
: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|Wikipedia:Help:Contents}}</nowiki></code> gives...
:{{main|Help:Contents}}
:{{main|Help:Contents}}


<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 03:32, 11 February 2011

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|Wikipedia:Help:Contents}} gives...
Main article: Help:Contents