ಟೆಂಪ್ಲೇಟು:Main
This template is used on approximately ೩,೫೫,೦೦೦ pages, or roughly 250% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template should not be substituted. |
This template uses Lua: |
When a Wikipedia article is large, it is often written in summary style. This template is used after the heading of the summary, to link to the subtopic article that has been summarized. For Category namespace, please use {{Cat main}}
instead.
Use of this template should be restricted to the purposes described above. It is not to be used as a substitute for inline links or {{Further}}
template. The latter is used when the section expounds a specific aspect of the topic instead of summarizing its article. For example, in phthalate, the template under the "Endocrine disruptor" section should not be {{Main|Endocrine disruptor}}, because the section specifically deals with phthalate as an endocrine disruptor and not endocrine disruptors in general.
This template should also not be used in lead sections. A lead section is always a summary of its own article, not any other; as such, the only appropriate target for a {{Main}}
link in the lead section would be the article itself, which is not useful. {{Broader}}
may be appropriate in this case.
Usage
ಬದಲಾಯಿಸಿ{{Main|Article 1}}
You may also include additional links, up to ten in total:
{{Main |Article 1 |Article 2 | ... |Article 9 |Article 10 }}
For each link, you may optionally specify a link appearance (this is for articles where a piped link would be used).
Note that the extra parameters use a lower case 'L', for example, l1
, not 11
:
{{Main |Article 1 | ... |Article 10 | l1=Article 1 link appearance | ... | l10=Article 10 link appearance }}
Examples
ಬದಲಾಯಿಸಿCode | Result |
---|---|
{{Main|Article}} |
|
{{Main|Article 1|Article 2|Article 3}} |
|
{{Main|Article 1|Article 2|Article 3|Article 4|Article 5}} |
|
{{Main|Article|l1=Alternative title}} |
|
{{Main|(15760) 1992 QB1|l1={{mp|(15760) 1992 QB|1}}}} |
{{main other}}
, to create main space only (article space only) content
TemplateData
ಬದಲಾಯಿಸಿTemplateData for Main
This template is used after the heading of a section, to link to the sub-article(s) that is entirely about this topic. The final template will show in italics: Main article: Article 1, Article 2 and Article 3
ಪರಿಮಿತಿ | ವಿವರ | ನಮೂನೆ | ಸ್ಥಾನಮಾನ | |
---|---|---|---|---|
Article 1 page location | 1 | Gives the name of the first article to which you want to link | String | required |
Article 2 page location | 2 | Gives the name of the second article to which you want to link | String | ಐಚ್ಛಿಕ |
Article 3 page location | 3 | Gives the name of the third article to which you want to link | String | ಐಚ್ಛಿಕ |
Article 4 page location | 4 | Gives the name of the fourth article to which you want to link | String | ಐಚ್ಛಿಕ |
Article 5 page location | 5 | Gives the name of the fifth article to which you want to link | String | ಐಚ್ಛಿಕ |
Article 6 page location | 6 | Gives the name of the sixth article to which you want to link | String | ಐಚ್ಛಿಕ |
Article 7 page location | 7 | Gives the name of the seventh article to which you want to link | String | ಐಚ್ಛಿಕ |
Article 8 page location | 8 | Gives the name of the eighth article to which you want to link | String | ಐಚ್ಛಿಕ |
Article 9 page location | 9 | Gives the name of the ninth article to which you want to link | String | ಐಚ್ಛಿಕ |
Article 10 page location | 10 | Gives the name of the tenth article to which you want to link | String | ಐಚ್ಛಿಕ |
Article 1 visible link text | l1 | Gives the text which will appear in the hyperlink to article 1. If not set, the article name will be used. | String | ಐಚ್ಛಿಕ |
Article 2 visible link text | l2 | Gives the text which will appear in the hyperlink to article 2. If not set, the article name will be used. | String | ಐಚ್ಛಿಕ |
Article 3 visible link text | l3 | Gives the text which will appear in the hyperlink to article 3. If not set, the article name will be used. | String | ಐಚ್ಛಿಕ |
Article 4 visible link text | l4 | Gives the text which will appear in the hyperlink to article 4. If not set, the article name will be used. | String | ಐಚ್ಛಿಕ |
Article 5 visible link text | l5 | Gives the text which will appear in the hyperlink to article 5. If not set, the article name will be used. | String | ಐಚ್ಛಿಕ |
Article 6 visible link text | l6 | Gives the text which will appear in the hyperlink to article 6. If not set, the article name will be used. | String | ಐಚ್ಛಿಕ |
Article 7 visible link text | l7 | Gives the text which will appear in the hyperlink to article 7. If not set, the article name will be used. | String | ಐಚ್ಛಿಕ |
Article 8 visible link text | l8 | Gives the text which will appear in the hyperlink to article 8. If not set, the article name will be used. | String | ಐಚ್ಛಿಕ |
Article 9 visible link text | l9 | Gives the text which will appear in the hyperlink to article 9. If not set, the article name will be used. | String | ಐಚ್ಛಿಕ |
Article 10 visible link text | l10 | Gives the text which will appear in the hyperlink to article 10. If not set, the article name will be used. | String | ಐಚ್ಛಿಕ |