Difference between revisions of "Template:See also"

From SimsWiki
Jump to: navigation, search
(Created page with '<includeonly><div style="font-style:italic;padding-left:2em;margin-bottom:0.5em">See also: {{#if:{{{1|}}} |<!--then:-->{{{1}}}|<!--else:-->'''Error: [[Template:See also2|Template…')
 
m
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly><div style="font-style:italic;padding-left:2em;margin-bottom:0.5em">See also: {{#if:{{{1|}}} |<!--then:-->{{{1}}}|<!--else:-->'''Error: [[Template:See also2|Template must be given at least one article name]]'''
+
<includeonly><div style="font-style:italic;padding-left:2em;margin-bottom:0.5em">See also: {{{1|}}}</div></includeonly><noinclude>
}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&nbsp;and }} {{{2}}}
+
}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |,&nbsp;and }} {{{3}}}
+
}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |,&nbsp;and }} {{{4}}}
+
}}{{#if:{{{5|}}}|{{#if:{{{6|}}}|, |,&nbsp;and }} {{{5}}}
+
}}{{#if:{{{6|}}}|{{#if:{{{7|}}}|, |,&nbsp;and }} {{{6}}}
+
}}{{#if:{{{7|}}}|{{#if:{{{8|}}}|, |,&nbsp;and }} {{{7}}}
+
}}{{#if:{{{8|}}}|{{#if:{{{9|}}}|, |,&nbsp;and }} {{{8}}}
+
}}{{#if:{{{9|}}}|{{#if:{{{10|}}}|, |,&nbsp;and }} {{{9}}}
+
}}{{#if:{{{10|}}}|{{#if:{{{11|}}}|, |,&nbsp;and }} {{{10}}}
+
}}{{#if:{{{11|}}}|{{#if:{{{12|}}}|, |,&nbsp;and }} {{{11}}}
+
}}{{#if:{{{12|}}}|{{#if:{{{13|}}}|, |,&nbsp;and }} {{{12}}}
+
}}{{#if:{{{13|}}}|{{#if:{{{14|}}}|, |,&nbsp;and }} {{{13}}}
+
}}{{#if:{{{14|}}}|{{#if:{{{15|}}}|, |,&nbsp;and }} {{{14}}}
+
}}{{#if:{{{15|}}}|,&nbsp;and {{{15}}}
+
}}{{#if:{{{16|}}}| &mdash; '''<br/>Error: [[Template:See also2|Too many links specified (maximum is 15)]]'''
+
}}}}</div></includeonly><noinclude>
+
 
==Usage==
 
==Usage==
  <nowiki>{{See also|[[Article 1]]|...|[[Article 15]]}}</nowiki>
+
Note: this template currently can only handle one "see also" link:
 +
  <nowiki>{{See also|[[title of article]]}}</nowiki>
 +
Turns into:
 +
{{See also|[[title of article]]}}
  
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 15:55, 10 January 2011

[edit] Usage

Note: this template currently can only handle one "see also" link:

{{See also|[[title of article]]}}

Turns into:

See also: title of article
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox