Template:LinkEppsteinRule: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Confocal (talk | contribs)
move the bullet out of the template
expanded templates to avoid placing self in category
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
* ''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:'''
Line 12: Line 12:
'''You see:'''
'''You see:'''


* {{LinkEppsteinRule|b3678s34678|rulename=Day & Night}}
* [http://fano.ics.uci.edu/ca/rules/b3678s34678/ Day & Night] at [[David Eppstein]]'s Glider Database


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


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


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


* {{LinkEppsteinRule|b36s245|rulename=Logarithmic replicator rule|archivedate=20150422165243}}
...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