Template:See also: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>Not LongPoster Again
m Not LongPoster Again moved page Template:SeeAlso to Template:See also: Missed getting the name right the first time around.
PathfinderWiki>Oznogon
m {{Documentation}}
Line 1: Line 1:
<div class="noprint">''See also: [[{{{1}}}|{{{l1|{{{1}}}}}}]]''</div><noinclude>
<includeonly>:<span>''See also: {{#if:{{{1|}}}|[[:{{{1}}}|{{{l1|{{{1}}}}}}]] | '''[[Template talk:See also|MISSING ARTICLES]]'''
== Code to include on page ==
}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&nbsp;and }} [[:{{{2}}}|{{{l2|{{{2}}}}}}]]
<nowiki>{{See also|exact wiki link name without any brackets}}</nowiki>
}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |,&nbsp;and }} [[:{{{3}}}|{{{l3|{{{3}}}}}}]]
 
}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |,&nbsp;and }} [[:{{{4}}}|{{{l4|{{{4}}}}}}]]
If you want the suggested page to have a different displayed title, use as follows:
}}{{#if:{{{5|}}}|{{#if:{{{6|}}}|, |,&nbsp;and }} [[:{{{5}}}|{{{l5|{{{5}}}}}}]]
<nowiki>{{See also|exact wiki link name without any brackets|l1 = displayed title}}</nowiki>
}}{{#if:{{{6|}}}|{{#if:{{{7|}}}|, |,&nbsp;and }} [[:{{{6}}}|{{{l6|{{{6}}}}}}]]
 
}}{{#if:{{{7|}}}|{{#if:{{{8|}}}|, |,&nbsp;and }} [[:{{{7}}}|{{{l7|{{{7}}}}}}]]
To be done: being able to suggest multiple articles with one call. 
}}{{#if:{{{8|}}}|{{#if:{{{9|}}}|, |,&nbsp;and }} [[:{{{8}}}|{{{l8|{{{8}}}}}}]]
 
}}{{#if:{{{9|}}}|{{#if:{{{10|}}}|, |,&nbsp;and }} [[:{{{9}}}|{{{l9|{{{9}}}}}}]]
}}{{#if:{{{10|}}}|{{#if:{{{11|}}}|, |,&nbsp;and }} [[:{{{10}}}|{{{l10|{{{10}}}}}}]]
}}{{#if:{{{11|}}}|{{#if:{{{12|}}}|, |,&nbsp;and }} [[:{{{11}}}|{{{l11|{{{11}}}}}}]]
}}{{#if:{{{12|}}}|{{#if:{{{13|}}}|, |,&nbsp;and }} [[:{{{12}}}|{{{l12|{{{12}}}}}}]]
}}{{#if:{{{13|}}}|{{#if:{{{14|}}}|, |,&nbsp;and }} [[:{{{13}}}|{{{l13|{{{13}}}}}}]]
}}{{#if:{{{14|}}}|{{#if:{{{15|}}}|, |,&nbsp;and }} [[:{{{14}}}|{{{l14|{{{14}}}}}}]]
}}{{#if:{{{15|}}}|,&nbsp;and [[:{{{15}}}|{{{l15|{{{15}}}}}}]]
}}{{#if:{{{16|}}}|…'''[[Template:See also]] MAXIMUM 15 ARTICLES ALLOWED'''
}}''</span></includeonly><noinclude>
{{Documentation}}
[[Category:Utility templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 17:23, 2 November 2019

[edit] [purge] File:Template-info.svg.png Template documentation

Template:Esoteric

Template:Tl is used to link articles containing further information of the subject at hand. Up to 15 links are possible. Each link may have a label to change the displayed text, identified as l1 through l15.

Usage

Example with one parameter

Template:Tl

See also: Absalom
Example with multiple parameters

Template:Tl

See also: Aroden, Earthfall, Absalom, and Iomedae
Example of linking a category

Template:Tl

See also: Category:Authors
Example of using labels

Template:Tl

See also: The Last Azlanti, Earthfall, City at the Center of the World, and Iomedae

Note that while the labels can be specified anywhere and in any order, a certain clarity is achieved if they immediately follow the term they will be linking to.