Template:SeeAlso: Difference between revisions
Jump to navigation
Jump to search
imported>Russell D. Jones (Testing to see if I get variable width) |
imported>Russell D. Jones (revised syntax) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| style="float:right; margin: .1em .5em; border-collapse: collapse; background: #FFF; border: 1px solid #AAA; " | {| style="float:right; margin: .1em .5em 0 .5em; border-collapse: collapse; background: #FFF; border: 1px solid #AAA; " | ||
|- | |- | ||
| style="width: 75px; background:gray; Color:White; vertical-align:middle; text-align:center" | <span style="font-size:85%;">See also:</span> | | style="width: 75px; background:gray; Color:White; vertical-align:middle; text-align:center" | <span style="font-size:85%;">See also:</span> | ||
| style="padding: 0.25em 0.5em; vertical-align:middle; text-align:left" | <span style="font-size:85%;"> | | style="padding: 0.25em 0.5em; vertical-align:middle; text-align:left" | <span style="font-size:85%;">{{{1}}}{{#If:{{{2}}}|<br>{{{2}}}| }}{{#If:{{{3}}}|<br>{{{3}}}| }}</span> | ||
|}</includeonly><noinclude> | |} | ||
</includeonly><noinclude> | |||
This template will add a "see also" box with a single link. | This template will add a "see also" box with a single link. The Link should be a wiki-link because if you wish to include a piped link, you'll have to do the piping. You can include up to three "see also" links. | ||
==Syntax== | ==Syntax== | ||
<nowiki>{{SeeAlso| PAGENAME }}</nowiki> | <nowiki>{{SeeAlso| [[PAGENAME]] }}</nowiki><br> | ||
<nowiki>{{SeeAlso | [[PAGENAME | Piped text]] }}</nowiki><br> | |||
<nowiki>{{SeeAlso | [[PAGENAME#1 | Piped text]] | [[PAGENAME#2 | Piped text]] | [[PAGENAME#3 | Piped text]] }}</nowiki> | |||
==Example== | ==Example== | ||
{| style="margin: .1em .5em; border-collapse: collapse; background: #FFF; border: 1px solid #AAA; | {| style="float:right; margin: .1em .5em 0 .5em; border-collapse: collapse; background: #FFF; border: 1px solid #AAA; " | ||
|- | |- | ||
| style="width: 75px; background:gray; Color:White; vertical-align:middle; text-align:center" | <span style="font-size:85%;">See also:</span> | | style="width: 75px; background:gray; Color:White; vertical-align:middle; text-align:center" | <span style="font-size:85%;">See also:</span> | ||
| style="padding: 0.25em 0.5em; vertical-align:middle; text-align:left" | <span style="font-size:85%;"> | | style="padding: 0.25em 0.5em; vertical-align:middle; text-align:left" | <span style="font-size:85%;">{{{1}}}{{#If:{{{2}}}|<br>{{{2}}}|<!---->}}{{#If:{{{3}}}|<br>{{{3}}}|<!---->}}</span> | ||
|} | |} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:10, 4 August 2009
This template will add a "see also" box with a single link. The Link should be a wiki-link because if you wish to include a piped link, you'll have to do the piping. You can include up to three "see also" links.
Syntax
{{SeeAlso| [[PAGENAME]] }}
{{SeeAlso | [[PAGENAME | Piped text]] }}
{{SeeAlso | [[PAGENAME#1 | Piped text]] | [[PAGENAME#2 | Piped text]] | [[PAGENAME#3 | Piped text]] }}
Example
See also: | {{{1}}} {{{2}}} {{{3}}} |