Difference between revisions of "Template:Knot Atlas"

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

Latest revision as of 18:12, 10 October 2019

"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