Template:Seealso

From Zapbots
Jump to navigationJump to search

Use this template when an external article is directly relevant to a sub-section on a page.

{{Seealso|List of Beast Wars Episodes}}
See also{{#if:|s}}: List of Beast Wars episodes{{#if:
 |{{#if:|, | and }}[[{{{2}}}|{{{2}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{3}}}|{{{3}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{4}}}|{{{4}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{5}}}|{{{5}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{6}}}|{{{6}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{7}}}|{{{7}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{8}}}|{{{8}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{9}}}|{{{9}}}]]}}{{#if:

|, and [[{{{10}}}|{{{10}}}]]}}{{#if: | (too many parameters in {{seealso}})}}

This template can list 10 articles this way. To set the display text of those links, use the named arguments l1-l10.

{{Seealso
 |Optimus Prime (G1)
 |Jazz (G1)
 |l2=Optimus Prime
 |l2=Jazz
}}
See also{{#if:Jazz (G1)|s}}: Optimus Prime{{#if:Jazz (G1)
 |{{#if:|, | and }}Jazz}}{{#if:
 |{{#if:|, |, and }}[[{{{3}}}|{{{3}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{4}}}|{{{4}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{5}}}|{{{5}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{6}}}|{{{6}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{7}}}|{{{7}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{8}}}|{{{8}}}]]}}{{#if:
 |{{#if:|, |, and }}[[{{{9}}}|{{{9}}}]]}}{{#if:

|, and [[{{{10}}}|{{{10}}}]]}}{{#if: | (too many parameters in {{seealso}})}}

Note: Unlike many other templates {{seealso}} cannot be spread across multiple lines; it is shown that way in the above example for clarity. No, I don't know why— it's a Wikipedia template.