Difference between revisions of "Template:See also"

MyWikiBiz, Author Your Legacy — Friday November 22, 2024
Jump to navigationJump to search
 
m (1 revision(s))
(One intermediate revision by the same user not shown)
Line 1: Line 1:
:<span class="boilerplate seealso">''See also: {{#if:{{{1|}}}|[[:{{{1}}}|{{{l1|{{{1}}}}}}]] | '''[[Template talk:See also|MISSING ARTICLES]]'''  
+
:<span class="boilerplate seealso">''See also: {{#if:{{{1|}}} |<!--then:-->[[:{{{1}}}|{{{l1|{{{1}}}}}}]] |<!--else:-->'''Error: [[Template:See also|Template must be given at least one article name]]'''  
 
}}{{#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}}}}}}]]
}}{{#if:{{{16|}}}|'''[[Template:See also]] MAXIMUM 15 ARTICLES ALLOWED'''
+
}}{{#if:{{{16|}}}| &mdash; '''<br/>Error: [[Template:See also|Too many links specified (maximum is 15)]]'''
 
}}''</span><noinclude>
 
}}''</span><noinclude>
{{/doc}}
+
{{documentation}}</noinclude>
</noinclude>
 

Revision as of 21:29, 13 February 2008

See also: Error: Template must be given at least one article name

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

50px Template documentation[view] [edit] [history] [purge]
This template documentation is transcluded from Template:See also/doc [edit]

Template:Tlx is used for small sets of see also information at the head of article sections according to Centiare:Guide to layout.

Usage

Template:Tlx
  • Up to 15 parameters are permitted: only the first is mandatory.
  • The list is dynamically generated so that the word "and" is always placed between the final two entries.
  • If more than 15 entries are supplied, a message will be displayed pointing out the problem.
NB
no newlines are permitted else the article links will be broken.

Example

Code Result
Template:Tlx
See also: Error: Template must be given at least one article name
Template:Tlx
See also: Article
Template:Tlx
See also: Article and Article
Template:Tlx
See also: Article, Article, and Article

And so on up to 15 parameters.

See also