Difference between revisions of "Template:See also"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+ rightwards arrow.)
 
(19 intermediate revisions by 8 users not shown)
Line 1: Line 1:
''→ See also: [[:{{{1}}}|{{{2|{{{1}}}}}}]]''
+
:''→ {{lang|en=See also:|es=Ver también:|de=Siehe auch:|pl=Zobacz również:|ru=Смотрите также:|hu=Lásd még:|ja=参照:|ko=참고하기: }} {{#if: {{{section|}}}|{{lang|en=“[[:{{{1}}}#{{{section}}}|{{#if: {{{section text|}}}|{{{section text}}}|{{{section}}} }}]]” section in|lang|hu=“[[:{{{1}}}#{{{section}}}|{{#if: {{{section text|}}}|{{{section text}}}|{{{section}}} }}]]” bekezdést a következő cikkből: }}}} {{#if: {{{1<includeonly>|</includeonly>}}}|[[:{{{1}}}|{{{2|{{{1}}}}}}]]|{{{2}}}}}''<noinclude>
<noinclude>
+
----
== Usage ==
+
Adds a link which references to a similar topic which might be interesting. It is usually placed at the beginning of a paragraph.
<nowiki>{{see also|Target}}</nowiki>
 
<nowiki>{{see also|Target|Description}}</nowiki>
 
  
[[Category:Templates]]
+
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).
 +
 
 +
This template is similar to {{Tl|Main article}}. In most cases the <nowiki>{{Main article}}</nowiki> fits better because it is unknown which similar topics might be interesting. Instead those articles are referenced in the paragraph. Also some articles have a ''See also'' section at the end where some topics are listed, but then without using this template.
 +
 
 +
== Parameters ==
 +
{{Parameter table|name=both|parameters=
 +
{{Parameter row|1|Target page name if in this wiki.|Not set}}
 +
{{Parameter row|2|Link text.|{{{1}}}}}
 +
{{Parameter row|section|Link to a specific section.|Not set}}
 +
{{Parameter row|section text|Link text to the specific section.|Not set/{{{section}}}}}
 +
}}
 +
 
 +
== Examples ==
 +
{| class="wikitable"
 +
! Code
 +
! Example
 +
! Result
 +
|-
 +
| class="mw-code" | <nowiki>{{see also|Target}}</nowiki>
 +
| class="mw-code" | <nowiki>{{see also|Stationary orbit}}</nowiki>
 +
| {{see also|Stationary orbit}}
 +
|-
 +
| class="mw-code" | <nowiki>{{see also|Target|Description}}</nowiki>
 +
| class="mw-code" | <nowiki>{{see also|Stationary orbit|Synchronous orbit}}</nowiki>
 +
| {{see also|Stationary orbit|Synchronous orbit}}
 +
|-
 +
| class="mw-code" | <nowiki>{{see also||Description}}</nowiki>
 +
| class="mw-code" | <nowiki>{{see also||{{Wikipedia|Synchronous orbit}}}}</nowiki>
 +
| {{see also||{{Wikipedia|Synchronous orbit}}}}
 +
|}
 +
 
 +
== See also ==
 +
* {{Tl|Main article}} with a similar functionality
 +
 
 +
[[Category:Cross-reference templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:09, 23 November 2016

→ See also: [[:{{{1}}}|{{{1}}}]]

Adds a link which references to a similar topic which might be interesting. It is usually placed at the beginning of a paragraph.

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).

This template is similar to {{Main article}}. In most cases the {{Main article}} fits better because it is unknown which similar topics might be interesting. Instead those articles are referenced in the paragraph. Also some articles have a See also section at the end where some topics are listed, but then without using this template.

Parameters

#/Name Optional Description Default
1 Yes Target page name if in this wiki. Not set
2 Yes Link text. {{{1}}}
section Yes Link to a specific section. Not set
section text Yes Link text to the specific section. Not set/{{{section}}}

Examples

Code Example Result
{{see also|Target}} {{see also|Stationary orbit}}
→ See also: Stationary orbit
{{see also|Target|Description}} {{see also|Stationary orbit|Synchronous orbit}}
→ See also: Synchronous orbit
{{see also||Description}} {{see also||{{Wikipedia|Synchronous orbit}}}}
→ See also: Synchronous orbit on Wikipedia

See also