Template:LinkGollyHelp: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
New link template
 
expanded templates to avoid placing self in category
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>* [http://golly.sourceforge.net/Help/{{{1|{{{filename}}}}}} {{{title|{{PAGENAME}}}}}] at [[Golly]]'s online help [[Category:Pages that link to Golly's online help]]</includeonly><noinclude>This is a template for including links to '''[http://golly.sourceforge.net/Help/ Golly's online help]''' in the "External Links" section of an article. It can take two parameters:
<includeonly>[http://golly.sourceforge.net/Help/{{{1|{{{filename}}}}}} {{{title|{{PAGENAME}}}}}] at [[Golly]]'s online help [[Category:Pages that link to Golly's online help]]</includeonly><noinclude>This is a template for including links to '''[http://golly.sourceforge.net/Help/ Golly's online help]''', either in the "External Links" section of an article or in a footnote. It can take two parameters:


* ''filename'', which specifies the filename of the page being linked to;
* ''filename'', which specifies the filename of the page being linked to;
* ''title'', which specifies the title to use for the link.
* ''title'', which specifies the title to use for the link.


Here is a simple example of its usage:
Here are two simple examples of its usage:


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


<tt><nowiki>{{LinkGollyHelp|filename=Algorithms/Generations.html|title=Generations}}</nowiki></tt>
<tt><nowiki>* {{LinkGollyHelp|filename=Algorithms/Generations.html|title=Generations}}</nowiki></tt>


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


* [http://golly.sourceforge.net/Help/Algorithms/Generations.html Generations] at [[Golly]]'s online help
* [http://golly.sourceforge.net/Help/Algorithms/Generations.html Generations] at [[Golly]]'s online help
'''You type:'''
<pre><nowiki><ref>{{LinkGollyHelp|filename=Algorithms/Generations.html|title=Generations}}</ref>
==References==
<references />
</nowiki></pre>
'''You see:''' a footnote link<sup>1</sup> at the '''ref''' tag location, and a reference section containing
# [http://golly.sourceforge.net/Help/Algorithms/Generations.html Generations] at [[Golly]]'s online help


==See also==
==See also==
{{ListOfLinkTemplates}}
{{ListOfLinkTemplates}}
 
[[Category:Citation templates]]
</noinclude>
</noinclude>

Latest revision as of 04:23, 17 June 2022

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

  • filename, which specifies the filename of the page being linked to;
  • title, which specifies the title to use for the link.

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}}</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