Difference between revisions of "Template:See also"

From EVE University Wiki
Jump to: navigation, search
m (Self referencing appears to be having trouble. But the template works on external pages.)
(Moved documentation to Template:See also/doc.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- This is Currently broken -->
+
<includeonly>:''See also: {{#if:{{{1|}}} |<!--then:-->[[:{{{1}}}|{{{l1|{{{1}}}}}}]] |<!--else:-->'''Error: [[Template:See also|Template must be given at least one article name]]'''  
<includeonly>See also: {{#if:{{{1|}}} |<!--then:-->[[:{{{1}}}|{{{l1|{{{1}}}}}}]] |<!--else:-->'''Error: [[Template:See also|Template must be given at least one article name]]'''  
 
 
}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&nbsp;and }} [[:{{{2}}}|{{{l2|{{{2}}}}}}]]
 
}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&nbsp;and }} [[:{{{2}}}|{{{l2|{{{2}}}}}}]]
 
}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |,&nbsp;and }} [[:{{{3}}}|{{{l3|{{{3}}}}}}]]
 
}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |,&nbsp;and }} [[:{{{3}}}|{{{l3|{{{3}}}}}}]]
Line 16: Line 15:
 
}}{{#if:{{{15|}}}|,&nbsp;and [[:{{{15}}}|{{{l15|{{{15}}}}}}]]
 
}}{{#if:{{{15|}}}|,&nbsp;and [[:{{{15}}}|{{{l15|{{{15}}}}}}]]
 
}}{{#if:{{{16|}}}| &mdash; '''<br/>Error: [[Template:See also|Too many links specified (maximum is 15)]]'''
 
}}{{#if:{{{16|}}}| &mdash; '''<br/>Error: [[Template:See also|Too many links specified (maximum is 15)]]'''
}}</includeonly>
+
}}''</includeonly><noinclude>
<noinclude>
+
{{documentation}}
= Usage =
 
<nowiki>{{See also|Sandbox|Main Page|Eve University}}</nowiki> will produce:<br>
 
See also: [[Sandbox]], [[Main Page]], and [[Eve University]]
 
[[Category:Template]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:19, 25 February 2017

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template produces a See also line of text with 1 to 15 targets.
Syntax
{{See also|<Target 1>|<Target 2>|<...>|<Target 15>}}
Sample
{{See also|Sandbox|Main Page|EVE University}} gives...
See also: Sandbox, Main Page, and EVE University
Visit Template:See also/doc to edit this text! (How does this work?) (Refresh this text - why?)