Template:LinkEppsteinRule: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
expanded templates to avoid placing self in category
 
(4 intermediate revisions by 2 users not shown)
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 '''[https://web.archive.org/web/20190408101245/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);
* ''rulename'', which specifies the name of the rule as it will appear in the link text (default: name of the current article).
* ''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:
==Examples of usage==


'''You type:'''
'''You type:'''


<tt><nowiki>{{LinkEppsteinRule|b3678s34678|rulename=Day & Night}}</nowiki></tt>
<tt><nowiki>* {{LinkEppsteinRule|b3678s34678|rulename=Day & Night}}</nowiki></tt>


'''You see:'''
'''You see:'''


* [https://catagolue.appspot.com/census/b3678s34678/ Day & Night] at [[David Eppstein]]'s Glider Database
* [http://fano.ics.uci.edu/ca/rules/b3678s34678/ Day & Night] at [[David Eppstein]]'s Glider Database
 
'''You type:'''
 
<tt><nowiki>...some text<ref>{{LinkEppsteinRule|b36s245|rulename=Logarithmic replicator rule|archivedate=20150422165243}}</ref>...</nowiki></tt>
 
'''You see:'''
 
...some text<ref>[https://web.archive.org/web/20150422165243/http://fano.ics.uci.edu/ca/rules/b36s245/ Logarithmic replicator rule] at [[David Eppstein]]'s Glider Database</ref>...
 
==References==
<references />


==See also==
==See also==
{{ListOfLinkTemplates}}
{{ListOfLinkTemplates}}
 
__NOTOC__
</noinclude>
</noinclude>

Latest revision as of 04:25, 17 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).

Examples of usage

You type:

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

You see:

You type:

...some text<ref>{{LinkEppsteinRule|b36s245|rulename=Logarithmic replicator rule|archivedate=20150422165243}}</ref>...

You see:

...some text[1]...

References

See also