Difference between revisions of "Template:See also"
From EVE University Wiki
Felix riggs (talk | contribs) m (Added Categories) |
(Moved documentation to Template:See also/doc.) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <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|}}}|, | and }} [[:{{{2}}}|{{{l2|{{{2}}}}}}]] | }}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and }} [[:{{{2}}}|{{{l2|{{{2}}}}}}]] | ||
}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and }} [[:{{{3}}}|{{{l3|{{{3}}}}}}]] | }}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and }} [[:{{{3}}}|{{{l3|{{{3}}}}}}]] | ||
Line 17: | Line 15: | ||
}}{{#if:{{{15|}}}|, and [[:{{{15}}}|{{{l15|{{{15}}}}}}]] | }}{{#if:{{{15|}}}|, and [[:{{{15}}}|{{{l15|{{{15}}}}}}]] | ||
}}{{#if:{{{16|}}}| — '''<br/>Error: [[Template:See also|Too many links specified (maximum is 15)]]''' | }}{{#if:{{{16|}}}| — '''<br/>Error: [[Template:See also|Too many links specified (maximum is 15)]]''' | ||
− | }} | + | }}''</includeonly><noinclude> |
− | {{documentation}}</noinclude> | + | {{documentation}} |
+ | </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 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 thel2
does not matter.