Difference between revisions of "Template:Main article"
From Kerbal Space Program Wiki
m |
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';) |
||
Line 17: | Line 17: | ||
== Parameters == | == Parameters == | ||
{{Parameter Table|parameters= | {{Parameter Table|parameters= | ||
− | {{Parameter | + | {{Parameter row|1|Target page name if in this wiki.|Not set}} |
− | {{Parameter | + | {{Parameter row|2|Link text.|{{{1}}}}} |
}} | }} | ||
Revision as of 20:58, 26 November 2014
- → Main article: [[:{{{1}}}|{{{1}}}]]
Adds a link to the main article. It is usually placed at the beginning of a paragraph which is further explained in the referenced article.
It support links to pages in this wiki as well as external links. Usually the complete second parameter text is linked, but own linking can be applied when omitting the first parameter (see the third example).
Parameters
Examples
Code | Example | Result |
---|---|---|
{{Main article|Target}} | {{Main article|Synchronous orbit}} |
|
{{Main article|Target|Description}} | {{Main article|Synchronous orbit|Stationary orbit}} |
|
{{Main article||Description}} | {{Main article||{{Wikipedia|Synchronous orbit}}}} |
|
See also
- {{See also}} with a similar functionality