Difference between revisions of "Template:See also"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+target less variant;)
(*table with examples;)
Line 1: Line 1:
 
:''→ {{lang|en=See also:|pl=Zobacz również:}} {{#if: {{{1}}}|[[:{{{1}}}|{{{2|{{{1}}}}}}]]|{{{2}}}}}''<noinclude>
 
:''→ {{lang|en=See also:|pl=Zobacz również:}} {{#if: {{{1}}}|[[:{{{1}}}|{{{2|{{{1}}}}}}]]|{{{2}}}}}''<noinclude>
 
== Usage ==
 
== Usage ==
Creates a link to ''Target'' with the linktext being ''Target'':
+
{| class="wikitable"
<nowiki>{{see also|Target}}</nowiki>
+
! Code
Creates a link to ''Target'' with the linktext being ''Description'':
+
! Example
<nowiki>{{see also|Target|Description}}</nowiki>
+
! Result
Doesn't create a link, simply adds only ''Description'':
+
|-
<nowiki>{{see also||Description}}</nowiki>
+
| 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}}}}
 +
|}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 10:15, 10 September 2013

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

Usage

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