Template:SeeAlso: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Russell D. Jones
(revised syntax)
imported>Russell D. Jones
(revised syntax)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| style="float:right; width: 30%; 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: 30%; 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%;">[[{{{1}}}]]</span>
| style="padding: 0.25em 0.5em; vertical-align:middle; text-align:left" | <span style="font-size:85%;">{{{1}}}{{#If:{{{2}}}|<br>{{{2}}}|&nbsp;}}{{#If:{{{3}}}|<br>{{{3}}}|&nbsp;}}</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="width: 30%; border-collapse: collapse; background: #FFF; border: 1px solid #AAA; float:right"
{| style="float:right; margin: .1em .5em 0 .5em; border-collapse: collapse; background: #FFF; border: 1px solid #AAA; "
|-  
|-  
| style="width: 30%; 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%;">[[Main Page]]</span>
| 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 19: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}}}