Difference between revisions of "Template:Knot Atlas"

From blackwiki
Jump to navigation Jump to search
imported>Hyacinth
m (move space)
imported>Hyacinth
({{sp}})
Line 1: Line 1:
"[http://katlas.math.toronto.edu/wiki/{{urlencode:{{{1}}}}} {{ifempty|{{{2|}}}|{{{1|}}}}}]"{{#if:{{{3<includeonly>|</includeonly>}}}| and "[http://katlas.math.toronto.edu/wiki/{{urlencode:{{{3<includeonly>|</includeonly>}}}}} {{ifempty|{{{4|}}}|{{{3|}}}}}]"}}, ''[[The Knot Atlas]]''.{{#if:{{{date<includeonly>|</includeonly>}}}|&nbsp;Accessed: {{{date}}}.}}<noinclude>{{documentation}}</noinclude>
+
"[http://katlas.math.toronto.edu/wiki/{{urlencode:{{{1}}}}} {{ifempty|{{{2|}}}|{{{1|}}}}}]"{{#if:{{{3<includeonly>|</includeonly>}}}|{{sp}}and "[http://katlas.math.toronto.edu/wiki/{{urlencode:{{{3<includeonly>|</includeonly>}}}}} {{ifempty|{{{4|}}}|{{{3|}}}}}]"}}, ''[[The Knot Atlas]]''.{{#if:{{{date<includeonly>|</includeonly>}}}|&nbsp;Accessed: {{{date}}}.}}<noinclude>{{documentation}}</noinclude>

Revision as of 10:49, 20 May 2013

"Script error: No such module "If empty"."Template:Spand "Script error: No such module "If empty".", The Knot Atlas. Accessed: {{{date}}}.

Template documentation[view] [edit] [history] [purge]

Usage

This template is intended for linking to The Knot Atlas from Wikipedia, either as references or external links.

*{{Knot Atlas|6 3}}
produces:

The magic word "urlencode" replaces spaces (" ") with underscores ("_") to prevent the space breaking the web page address (thus "6 3" becomes "6_3").

A second parameter may be used if an article title other than that used by the Knot Atlas is desired.
*{{Knot Atlas|5 2|Borromean rings}}
produces:

A second page may be linked to:

*{{Knot Atlas|6 3||7 1|}}
produces:

Access/retrieval date may be added:

*{{Knot Atlas|0 1|date={{subst:date}}}}
produces:

Knot Atlas

"Script error: No such module "If empty".", The Knot Atlas.

See also