Template:LinkEppsteinRule: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
corrected link
Confocal (talk | contribs)
add an optional parameter archivedate
Line 1: Line 1:
<includeonly>* [http://fano.ics.uci.edu/ca/rules/{{{rule|{{{1}}}}}}/ {{{rulename|{{PAGENAME}}}}}] at [[David Eppstein]]'s Glider Database [[Category:Pages that link to David Eppstein's Glider Database]]</includeonly><noinclude>This is a template for including links to rules at '''[http://fano.ics.uci.edu/ca/ David Eppstein's Glider Database]''' in the "External Links" section of an article. It can take two parameters:
<includeonly>* [{{#if:{{{archivedate|}}}|https://web.archive.org/web/{{{archivedate}}}/|}}http://fano.ics.uci.edu/ca/rules/{{{rule|{{{1}}}}}}/ {{{rulename|{{PAGENAME}}}}}] at [[David Eppstein]]'s Glider Database [[Category:Pages that link to David Eppstein's Glider Database]]</includeonly><noinclude>This is a template for including links to rules at '''[http://fano.ics.uci.edu/ca/ David Eppstein's Glider Database]''' in the "External Links" section of an article. It can take two parameters:


* ''rule'', which specifies the rule of the census linked to (parameter name may be omitted);
* ''rule'', which specifies the rule of the census linked to (parameter name may be omitted);
Line 12: Line 12:
'''You see:'''
'''You see:'''


* [http://fano.ics.uci.edu/ca/rules/b3678s34678/ Day & Night] at [[David Eppstein]]'s Glider Database
{{LinkEppsteinRule|b3678s34678|rulename=Day & Night}}
 
'''You type:'''
 
<tt><nowiki>{{LinkEppsteinRule|b36s245|rulename=Logarithmic replicator rule|archivedate=20150422165243}}</nowiki></tt>
 
'''You see:'''
 
{{LinkEppsteinRule|b36s245|rulename=Logarithmic replicator rule|archivedate=20150422165243}}


==See also==
==See also==

Revision as of 15:21, 3 June 2022

This is a template for including links to rules at David Eppstein's Glider Database in the "External Links" section of an article. It can take two parameters:

  • rule, which specifies the rule of the census linked to (parameter name may be omitted);
  • rulename, which specifies the name of the rule as it will appear in the link text (default: name of the current article).

Here is a simple example of its usage:

You type:

{{LinkEppsteinRule|b3678s34678|rulename=Day & Night}}

You see:

You type:

{{LinkEppsteinRule|b36s245|rulename=Logarithmic replicator rule|archivedate=20150422165243}}

You see:

See also