Template:LinkGollyHelp: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Format=ref test
No edit summary
Line 30: Line 30:
==See also==
==See also==
{{ListOfLinkTemplates}}
{{ListOfLinkTemplates}}
 
[[Category:Citation templates]]
</noinclude>
</noinclude>

Revision as of 18:51, 29 December 2020

This is a template for including links to Golly's online help in the "External Links" section of an article. It can take three parameters:

  • filename, which specifies the filename of the page being linked to;
  • title, which specifies the title to use for the link.
  • format, the way the resulting link should be formatted (optional):
    • format=ref, format in a way suitable for <ref> ... </ref> tags.

Here are two simple examples of its usage:

You type:

{{LinkGollyHelp|filename=Algorithms/Generations.html|title=Generations}}

You see:

You type:

<ref>{{LinkGollyHelp|filename=Algorithms/Generations.html|title=Generations|format=ref}}</ref>

==References==
<references />

You see: a footnote link1 at the ref tag location, and a reference section containing

1. Generations at Golly's online help

See also