Difference between revisions of "Template:See also"

From Kerbal Space Program Wiki
Jump to: navigation, search
(*use more specific category; +parameter table; +introduction; +see also;)
m (+section function;)
Line 1: Line 1:
:''→ {{lang|en=See also:|de=Siehe auch:|pl=Zobacz również:|ru=Смотрите также}} {{#if: {{{1<includeonly>|</includeonly>}}}|[[:{{{1}}}|{{{2|{{{1}}}}}}]]|{{{2}}}}}''<noinclude>
+
:''→ {{lang|en=See also:|de=Siehe auch:|pl=Zobacz również:|ru=Смотрите также}} {{#if: {{{section|}}}|{{lang|en=“[[:{{{1}}}#{{{section}}}|{{#if: {{{section text|}}}|{{{section text}}}|{{{section}}} }}]]” section in}}}} {{#if: {{{1<includeonly>|</includeonly>}}}|[[:{{{1}}}|{{{2|{{{1}}}}}}]]|{{{2}}}}}''<noinclude>
 
----
 
----
 
Adds a link which references to a similar topic which might be interesting. It is usually placed at the beginning of a paragraph.
 
Adds a link which references to a similar topic which might be interesting. It is usually placed at the beginning of a paragraph.
Line 8: Line 8:
  
 
== Parameters ==
 
== Parameters ==
{{Parameter Table|parameters=
+
{{Parameter Table|name=both|parameters=
 
{{Parameter Row|1|Target page name if in this wiki.|Not set}}
 
{{Parameter Row|1|Target page name if in this wiki.|Not set}}
 
{{Parameter Row|2|Link text.|{{{1}}}}}
 
{{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}}}}}
 
}}
 
}}
  

Revision as of 14:39, 5 January 2014

→ 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

Template:Parameter Table

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