Template:LinkGollyHelp: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) New link template |
Format=ref test |
||
| 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 | <includeonly>{{#ifeq:{{{format}}}|ref||*}}[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 three 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. | ||
* ''format'', the way the resulting link should be formatted (optional): | |||
** ''format=ref'', format in a way suitable for <tt><nowiki><ref> ... </ref></nowiki></tt> tags. | |||
Here | Here are two simple examples of its usage: | ||
'''You type:''' | '''You type:''' | ||
| Line 13: | Line 15: | ||
* [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|format=ref}}</ref> | |||
==References== | |||
<references /> | |||
</nowiki></pre> | |||
'''You see:''' a footnote link<sup>1</sup> at the '''ref''' tag location, and a reference section containing | |||
1. [http://golly.sourceforge.net/Help/Algorithms/Generations.html Generations] at [[Golly]]'s online help | |||
==See also== | ==See also== | ||
Revision as of 20:40, 25 January 2019
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:
- Generations at Golly's online help
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
- Pages that link to external sites (category)
External link templates
- Template:Cata
- Template:LinkCallahan
- Template:LinkCatagolue
- Template:LinkCatagolueRule
- Template:LinkEppstein
- Template:LinkEppsteinRule
- Template:LinkForumThread
- Template:LinkGoLDictionary
- Template:LinkGoLNews
- Template:LinkGollyHelp
- Template:LinkLexicon
- Template:LinkMathworld
- Template:LinkMirek
- Template:LinkNiemiec
- Template:LinkPentadecathlonObject
- Template:LinkWikipedia
- Template:LinkYouTube
- Template:MathGenealogy
- Template:OEIS