Difference between revisions of "Template:See also"
MyWikiBiz, Author Your Legacy — Monday November 25, 2024
Jump to navigationJump to searchm (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 | + | :<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|}}}|, | and }} [[:{{{2}}}|{{{l2|{{{2}}}}}}]] | }}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and }} [[:{{{2}}}|{{{l2|{{{2}}}}}}]] | ||
}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and }} [[:{{{3}}}|{{{l3|{{{3}}}}}}]] | }}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and }} [[:{{{3}}}|{{{l3|{{{3}}}}}}]] | ||
Line 14: | Line 14: | ||
}}{{#if:{{{14|}}}|{{#if:{{{15|}}}|, |, and }} [[:{{{14}}}|{{{l14|{{{14}}}}}}]] | }}{{#if:{{{14|}}}|{{#if:{{{15|}}}|, |, and }} [[:{{{14}}}|{{{l14|{{{14}}}}}}]] | ||
}}{{#if:{{{15|}}}|, and [[:{{{15}}}|{{{l15|{{{15}}}}}}]] | }}{{#if:{{{15|}}}|, and [[:{{{15}}}|{{{l15|{{{15}}}}}}]] | ||
− | }}{{#if:{{{16|}}}| | + | }}{{#if:{{{16|}}}| — '''<br/>Error: [[Template:See also|Too many links specified (maximum is 15)]]''' |
}}''</span><noinclude> | }}''</span><noinclude> | ||
− | {{ | + | {{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>
- 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 |
|
Template:Tlx |
|
Template:Tlx | |
Template:Tlx |
And so on up to 15 parameters.
See also