Difference between revisions of "Template:See also/doc"

From EVE University Wiki
Jump to: navigation, search
m
(Update docs for the use of the l<x> parameter.)
 
Line 1: Line 1:
 
; Description
 
; Description
: This template produces a See also line of text with 1 to 15 targets.
+
: This template produces a See also line of text with maximum of 15 targets.
 +
 
 
; Syntax
 
; Syntax
: {{T|See also|Target 1|Target 2|...|Target 15}}
+
: {{T|See also|Target 1|Target 2|...|Target 15|6= lx= title|7= ...}}
 +
:; Parameters
 +
::; Target ''x'' : The name of the target article, anchors(#) can be used.
 +
::; l''x'' : 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 l''x'' parameters is irrelevant and does not have to be in order.
 +
 
 
; Sample
 
; Sample
 
: <code><nowiki>{{See also|Sandbox|Main Page|EVE University}}</nowiki></code> gives...
 
: <code><nowiki>{{See also|Sandbox|Main Page|EVE University}}</nowiki></code> gives...
 
{{See also|Sandbox|Main Page|EVE University}}
 
{{See also|Sandbox|Main Page|EVE University}}
 +
 +
 +
: <code><nowiki>{{See also|Sandbox|Main Page|EVE University|l2= EVE Universities start page}}</nowiki></code> gives...
 +
{{See also|Sandbox|Main Page|l2= EVE Universities start page|EVE University}}
 +
 +
: <code><nowiki>{{See also|Sandbox|Main Page|l2= EVE Universities start page|EVE University}}</nowiki></code> gives...
 +
{{See also|Sandbox|Main Page|l2= EVE Universities start page|EVE University}}
 +
: "Main Page", the target that has its display text changed is in the second position of the anonymous parameters so <code>l2</code> is used. As can be seen the position of the <code>l2</code> does not matter.
 +
 
<includeonly>[[Category:Link templates]]</includeonly>
 
<includeonly>[[Category:Link templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 10:14, 7 August 2024

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.