Template:Seealso: Difference between revisions

Template page
m (add closing '')
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
:''See also: {{#if:{{{1|}}}|[[:{{{1}}}|{{{l1|{{{1}}}}}}]]}}
<includeonly>:''See also: {{#if:{{{1|}}}|[[:{{{1}}}|{{{l1|{{{1}}}}}}]]}}
{{#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}}}}}}]]
Line 14: Line 14:
}}{{#if:{{{14|}}}|{{#if:{{{15|}}}|, |,&nbsp;and }} [[:{{{14}}}|{{{l14|{{{14}}}}}}]]
}}{{#if:{{{14|}}}|{{#if:{{{15|}}}|, |,&nbsp;and }} [[:{{{14}}}|{{{l14|{{{14}}}}}}]]
}}{{#if:{{{15|}}}|,&nbsp;and [[:{{{15}}}|{{{l15|{{{15}}}}}}]]
}}{{#if:{{{15|}}}|,&nbsp;and [[:{{{15}}}|{{{l15|{{{15}}}}}}]]
}}
}}''</includeonly><noinclude>
= Documentation =
= Documentation =
When articles become too large, subarticles are usually created.  This template, used in the subarticle, uses the name of the main article as a parameter to produce a link to the main article.
When articles become too large, subarticles are usually created.  This template, used in the subarticle, uses the name of the main article as a parameter to produce a link to the main article.
Line 20: Line 20:
== Usage ==
== Usage ==
<pre>
<pre>
{{mainarticle
{{seealso
   |Article 1
   |Article 1
}}
}}
</pre>
</pre>


You may also include additional links, up to five in total:
You may also include additional links, up to 15 in total:


<pre>
<pre>
{{mainarticle
{{seealso
   |Article 1
   |Article 1
   |Article 2
   |Article 2

Latest revision as of 18:32, 11 June 2007

Documentation

When articles become too large, subarticles are usually created. This template, used in the subarticle, uses the name of the main article as a parameter to produce a link to the main article.

Usage

{{seealso
  |Article 1
}}

You may also include additional links, up to 15 in total:

{{seealso
  |Article 1
  |Article 2
  |Article 3
  |Article 4
  |Article 5
}}

Example

Code Result
{{Seealso|Article}}
See also: Article

{{Seealso|Article1|Article2|Article3}}
See also: Article1

, Article2, and Article3

{{Seealso|Article1|Article2|Article3|Article4|Article5}}
See also: Article1

, Article2, Article3, Article4, and Article5