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 4: Line 4:
| 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}}}|<!---->}}{{#If:{{{3}}}|<br>{{{3}}}|<!---->}}</span>
|}
|}<br>
</includeonly><noinclude>
</includeonly><noinclude>



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

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

See also: {{{1}}}
{{{2}}}
{{{3}}}