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)
Line 3: Line 3:
|-  
|-  
| 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%;">{{{1}}}{{#If:{{{2}}}|<br>{{{2}}}|<!---->}}{{#If:{{{3}}}|<br>{{{3}}}|<!---->}}</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>
|}<br>
|}</p>
</includeonly><noinclude>
</includeonly><noinclude>


Line 10: Line 10:


==Syntax==
==Syntax==
<nowiki>{{SeeAlso| [[PAGENAME]] ||}}</nowiki><br>
<nowiki>{{SeeAlso| [[PAGENAME]] }}</nowiki><br>
<nowiki>{{SeeAlso | [[PAGENAME | Piped text]] ||}}</nowiki><br>
<nowiki>{{SeeAlso | [[PAGENAME | Piped text]] }}</nowiki><br>
<nowiki>{{SeeAlso | [[PAGENAME#1 | Piped text]] | [[PAGENAME#2 | Piped text]] | [[PAGENAME#3 | Piped text]] }}</nowiki>
<nowiki>{{SeeAlso | [[PAGENAME#1 | Piped text]] | [[PAGENAME#2 | Piped text]] | [[PAGENAME#3 | Piped text]] }}</nowiki>
==Quirk==
Right now each field has to be separated by pipes (see the first example above) in order not to get the empty fields to show.


==Example==
==Example==

Revision as of 15:34, 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}}}