Difference between revisions of "Template:See also"
(The table needs to be rewritten to not use pipes in the edit source. But this is long enough to move to a /doc page.) |
Dinoguy1000 (talk | contribs) (actually, there's no reason not to leave the unlinked version in as shorthand, just check for any usages using the l# parameters to change the link text) |
||
Line 4: | Line 4: | ||
#if: {{ #pos: {{{1<noinclude>|[[foo]]</noinclude>}}} | {{!((}} }} | #if: {{ #pos: {{{1<noinclude>|[[foo]]</noinclude>}}} | {{!((}} }} | ||
| {{{1<noinclude>|[[Main Page]]</noinclude>}}} | | {{{1<noinclude>|[[Main Page]]</noinclude>}}} | ||
− | | [[{{{1}}}|{{ #if: {{{l1|}}} | {{{l1}}} | {{{1}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{1}}}|{{ #if: {{{l1|}}} | {{{l1}}} | {{{1}}} }}]]{{ #if: {{{l1|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
| '''Error: [[Template:See also|Template must be given at least one article name]]''' | | '''Error: [[Template:See also|Template must be given at least one article name]]''' | ||
Line 11: | Line 11: | ||
#if: {{{3|}}} | , | and | #if: {{{3|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{2}}} | {{!((}} }} | {{{2}}} | }} {{ #if: {{ #pos: {{{2}}} | {{!((}} }} | {{{2}}} | ||
− | | [[{{{2}}}|{{ #if: {{{l2|}}} | {{{l2}}} | {{{2}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{2}}}|{{ #if: {{{l2|}}} | {{{l2}}} | {{{2}}} }}]]{{ #if: {{{l2|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 17: | Line 17: | ||
#if: {{{4|}}} | , | and | #if: {{{4|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{3}}} | {{!((}} }} | {{{3}}} | }} {{ #if: {{ #pos: {{{3}}} | {{!((}} }} | {{{3}}} | ||
− | | [[{{{3}}}|{{ #if: {{{l3|}}} | {{{l3}}} | {{{3}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{3}}}|{{ #if: {{{l3|}}} | {{{l3}}} | {{{3}}} }}]]{{ #if: {{{l3|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 23: | Line 23: | ||
#if: {{{5|}}} | , | and | #if: {{{5|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{4}}} | {{!((}} }} | {{{4}}} | }} {{ #if: {{ #pos: {{{4}}} | {{!((}} }} | {{{4}}} | ||
− | | [[{{{4}}}|{{ #if: {{{l4|}}} | {{{l4}}} | {{{4}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{4}}}|{{ #if: {{{l4|}}} | {{{l4}}} | {{{4}}} }}]]{{ #if: {{{l4|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 29: | Line 29: | ||
#if: {{{6|}}} | , | and | #if: {{{6|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{5}}} | {{!((}} }} | {{{5}}} | }} {{ #if: {{ #pos: {{{5}}} | {{!((}} }} | {{{5}}} | ||
− | | [[{{{5}}}|{{ #if: {{{l5|}}} | {{{l5}}} | {{{5}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{5}}}|{{ #if: {{{l5|}}} | {{{l5}}} | {{{5}}} }}]]{{ #if: {{{l5|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 35: | Line 35: | ||
#if: {{{7|}}} | , | and | #if: {{{7|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{6}}} | {{!((}} }} | {{{6}}} | }} {{ #if: {{ #pos: {{{6}}} | {{!((}} }} | {{{6}}} | ||
− | | [[{{{6}}}|{{ #if: {{{l6|}}} | {{{l6}}} | {{{6}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{6}}}|{{ #if: {{{l6|}}} | {{{l6}}} | {{{6}}} }}]]{{ #if: {{{l6|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 41: | Line 41: | ||
#if: {{{8|}}} | , | and | #if: {{{8|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{7}}} | {{!((}} }} | {{{7}}} | }} {{ #if: {{ #pos: {{{7}}} | {{!((}} }} | {{{7}}} | ||
− | | [[{{{7}}}|{{ #if: {{{l7|}}} | {{{l7}}} | {{{7}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{7}}}|{{ #if: {{{l7|}}} | {{{l7}}} | {{{7}}} }}]]{{ #if: {{{l7|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 47: | Line 47: | ||
#if: {{{9|}}} | , | and | #if: {{{9|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{8}}} | {{!((}} }} | {{{8}}} | }} {{ #if: {{ #pos: {{{8}}} | {{!((}} }} | {{{8}}} | ||
− | | [[{{{8}}}|{{ #if: {{{l8|}}} | {{{l8}}} | {{{8}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{8}}}|{{ #if: {{{l8|}}} | {{{l8}}} | {{{8}}} }}]]{{ #if: {{{l8|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 53: | Line 53: | ||
#if: {{{10|}}} | , | and | #if: {{{10|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{9}}} | {{!((}} }} | {{{9}}} | }} {{ #if: {{ #pos: {{{9}}} | {{!((}} }} | {{{9}}} | ||
− | | [[{{{9}}}|{{ #if: {{{l9|}}} | {{{l9}}} | {{{9}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{9}}}|{{ #if: {{{l9|}}} | {{{l9}}} | {{{9}}} }}]]{{ #if: {{{l9|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 59: | Line 59: | ||
#if: {{{11|}}} | , | and | #if: {{{11|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{10}}} | {{!((}} }} | {{{10}}} | }} {{ #if: {{ #pos: {{{10}}} | {{!((}} }} | {{{10}}} | ||
− | | [[{{{10}}}|{{ #if: {{{l10|}}} | {{{l10}}} | {{{10}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{10}}}|{{ #if: {{{l10|}}} | {{{l10}}} | {{{10}}} }}]]{{ #if: {{{l10|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 65: | Line 65: | ||
#if: {{{12|}}} | , | and | #if: {{{12|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{11}}} | {{!((}} }} | {{{11}}} | }} {{ #if: {{ #pos: {{{11}}} | {{!((}} }} | {{{11}}} | ||
− | | [[{{{11}}}|{{ #if: {{{l11|}}} | {{{l11}}} | {{{11}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{11}}}|{{ #if: {{{l11|}}} | {{{l11}}} | {{{11}}} }}]]{{ #if: {{{l11|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 71: | Line 71: | ||
#if: {{{13|}}} | , | and | #if: {{{13|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{12}}} | {{!((}} }} | {{{12}}} | }} {{ #if: {{ #pos: {{{12}}} | {{!((}} }} | {{{12}}} | ||
− | | [[{{{12}}}|{{ #if: {{{l12|}}} | {{{l12}}} | {{{12}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{12}}}|{{ #if: {{{l12|}}} | {{{l12}}} | {{{12}}} }}]]{{ #if: {{{l12|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 77: | Line 77: | ||
#if: {{{14|}}} | , | and | #if: {{{14|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{13}}} | {{!((}} }} | {{{13}}} | }} {{ #if: {{ #pos: {{{13}}} | {{!((}} }} | {{{13}}} | ||
− | | [[{{{13}}}|{{ #if: {{{l13|}}} | {{{l13}}} | {{{13}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{13}}}|{{ #if: {{{l13|}}} | {{{l13}}} | {{{13}}} }}]]{{ #if: {{{l13|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
Line 83: | Line 83: | ||
#if: {{{15|}}} | , | and | #if: {{{15|}}} | , | and | ||
}} {{ #if: {{ #pos: {{{14}}} | {{!((}} }} | {{{14}}} | }} {{ #if: {{ #pos: {{{14}}} | {{!((}} }} | {{{14}}} | ||
− | | [[{{{14}}}|{{ #if: {{{l14|}}} | {{{l14}}} | {{{14}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{14}}}|{{ #if: {{{l14|}}} | {{{l14}}} | {{{14}}} }}]]{{ #if: {{{l14|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{15|}}} | , and {{ #if: {{ #pos: {{{15}}} | {{!((}} }} | {{{15}}} | #if: {{{15|}}} | , and {{ #if: {{ #pos: {{{15}}} | {{!((}} }} | {{{15}}} | ||
− | | [[{{{15}}}|{{ #if: {{{l15|}}} | {{{l15}}} | {{{15}}} }}]][[Category:See also transclusions needing to be updated]] | + | | [[{{{15}}}|{{ #if: {{{l15|}}} | {{{l15}}} | {{{15}}} }}]]{{ #if: {{{l15|}}} | [[Category:See also transclusions needing to be updated]] }} |
}} | }} | ||
}}{{ | }}{{ |
Revision as of 15:57, 7 March 2013
See also: Main Page
{{See also}}
is used for small sets of see also information at the head of article sections.
Usage
{{See also|[[Article 1]]|...|''[[Article 15]]''}}
- 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 |
---|---|
{{See also}}
|
|
{{See also|[[Article]]}}
|
|
{{See also|[[Article]]|[[Article]]}}
|
|
{{See also|[[Article]]|[[Article]]|[[Article]]}}
|
|
{{See also|[[Article]]|[[Article|Alternate title]]}}
|
|
{{See also|Article|Article|[[Article|Alternate title]]}}
|