Template:Main/doc: Difference between revisions
deprecate Template:Wikipedia template |
m 1 revision imported |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
This template is for linking to the main article on a subject (duh). If an article contains a section about a subject in brief, and RationalWiki happens to have an entire article already devoted to that subject, then this template would be used to direct others to the proper article on the subject. Its utility differs from casually linking to another article in within the text and from a "See also" section in that it highlights a specific and highly relevant article. | |||
This template has six parameters. | |||
The first (and required) parameter is simply the name of the article you're linking to. For example, <code><nowiki>{{main|9/11 conspiracy theories}}</nowiki></code> produces {{main|9/11 conspiracy theories}} | |||
There is a second, optional parameter which allows you to change the text of the link. For example, <code><nowiki>{{main|9/11 conspiracy theories|What crazy people believe}}</nowiki></code> produces {{main|9/11 conspiracy theories|What crazy people believe}} | |||
} | |||
<includeonly>[[Category: | The third parameter adds a second article, the fourth changes the text of that link; the fifth parameter adds a third article, the sixth changes the text of that link. Or: | ||
<pre> | |||
{{main|1=one|3=two|5=three}} | |||
</pre> | |||
Example: | |||
{{main|Kirk Cameron|3=Ray Comfort}} | |||
{{Template}} | |||
<includeonly> | |||
[[Category:In-text templates]] | |||
</includeonly> |
Latest revision as of 00:43, 2 August 2024
This template is for linking to the main article on a subject (duh). If an article contains a section about a subject in brief, and RationalWiki happens to have an entire article already devoted to that subject, then this template would be used to direct others to the proper article on the subject. Its utility differs from casually linking to another article in within the text and from a "See also" section in that it highlights a specific and highly relevant article.
This template has six parameters.
The first (and required) parameter is simply the name of the article you're linking to. For example, {{main|9/11 conspiracy theories}}
produces
There is a second, optional parameter which allows you to change the text of the link. For example, {{main|9/11 conspiracy theories|What crazy people believe}}
produces
The third parameter adds a second article, the fourth changes the text of that link; the fifth parameter adds a third article, the sixth changes the text of that link. Or:
{{main|1=one|3=two|5=three}}
Example:
{{[[Template:{{{1}}}|{{{1}}}]]}}