Difference between revisions of "Template:See also"

From EVE University Wiki
Jump to: navigation, search
(Created page with '<includeonly>{{rellink|extraclasses=boilerplate seealso|{{{altphrase|See also}}}: {{#if:{{{1|}}} |<!--then:-->[[:{{{1}}}|{{{l1|{{{1}}}}}}]] |<!--else:-->'''Error: [[Template:See ...')
 
Line 1: Line 1:
<includeonly>{{rellink|extraclasses=boilerplate seealso|{{{altphrase|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}}}}}}]]

Revision as of 05:16, 17 July 2009

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template produces a See also line of text with maximum of 15 targets.
Syntax
{{See also|<Target 1>|<Target 2>|<...>|<Target 15>|<lx= title>|<...>}}
Parameters
Target x
The name of the target article, anchors(#) can be used.
lx
Title of the target when different from the target name. Where x is the same as the targets position in the list of anonymous parameters.. (Optional)
The position of the lx parameters is irrelevant and does not have to be in order.
Sample
{{See also|Sandbox|Main Page|EVE University}} gives...

See also: Sandbox, Main Page, and EVE University}}


{{See also|Sandbox|Main Page|EVE University|l2= EVE Universities start page}} gives...

See also: Sandbox, EVE Universities start page, and EVE University}}

{{See also|Sandbox|Main Page|l2= EVE Universities start page|EVE University}} gives...

See also: Sandbox, EVE Universities start page, and EVE University}}

"Main Page", the target that has its display text changed is in the second position of the anonymous parameters so l2 is used. As can be seen the position of the l2 does not matter.
Visit Template:See also/doc to edit this text! (How does this work?) (Refresh this text - why?)