Template:Main: Difference between revisions

From NDWiki
Jump to navigation Jump to search
m (Fixing category and example)
m (Using "Template link" and improve the example)
 
Line 7: Line 7:


== Example ==
== Example ==
<nowiki>{{main|Article 1}}</nowiki> looks like this
{{tl|main|X1|X2|X3}} looks like this


{{main|Article 1}}
{{main|X1|X2|X3}}


[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 17:35, 15 November 2008

Main article: [[{{{1}}}|{{{1}}}]]

When a article is large, it is often rewritten in summary style. This template is used below the heading of the summary, to link to the sub-article that has been (or will be) summarised.

Example

{{main|X1|X2|X3}} looks like this

Main articles: X1, X2, and X3