Template:Main/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Main. It contains usage information, categories and other content that is not part of the original template page. |
{{Main}} is a template used after a heading, to link to a subtopic article that has been summarised. When an article is large, it is often written in as a summary.
Use of this template should be restricted to the purposes described above. It is not to be used as a substitute for inline links.
Usage[edit source]
- Basic usage
{{Main|page}}
- All parameters
{{Main|page1|page2|page3|…|l1=label1|l2=label2|l3=label3| …}}
Note: "l1" etc. is the lowercase letter "L" followed by a numeral.
|1=
,|2=
,|3=
, ... – the pages to link to. If no page names are specified, the current page name is used instead (without the namespace prefix).|l1=
,|l2=
,|l3=
– optional labels for each of the pages to link to (this is for articles where a piped link would be used).
Examples[edit source]
{{Main}}
→Main article: Main/doc{{Main|Shion}}
→Main article: Shion{{Main|Shion#General Information}}
→Main article: Shion#General Information{{Main|Shion#General Information|l1=The Fashion Show}}
→Main article: The Fashion Show{{Main|Shion|Clause|Kaoru Kashiwagi}}
→{{Main|Clause|l1=Wilhelm von Clausewitz Halcyon HISUIMARU|Kaoru Kashiwagi|l2=whoever this is}}
→Main articles: Wilhelm von Clausewitz Halcyon HISUIMARU and whoever this is