Template:Main/doc
Usage[edit source]
When a article is becoming too large, it is often re-written as summary, with summary sub sections linking to its main articles. This hatnote template is placed below the heading of the summary sub sections to link to its main article. For an example of the result of the usage of this template on a page, see e.g. Robert's Rebellion.
This template is not to be used as a substitute for normal inline links, or as a substitute for the "see also"-template.
Examples[edit source]
For linking to a main article (Eddard Stark in the example), typing {{Main|Eddard Stark}} will result in:
For linking to multiple main articles, typing {{Main|Eddard Stark|Catelyn Stark}} will give the following result:
It is also possible to link to a page in a different namespace (e.g. the template namespace or help namespace). For example, to link to the Help:Links page, typing {{Main|Help:Links}} will result in:
It is possible to create the same link with an alternative title. Typing {{Main|Help:Links|l1=Links}} will create a link to the page Help:Links with an alternative title, e.g. this: