Template:LinkForumThread: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) format=ref |
Apple Bottom (talk | contribs) document format=ref |
||
| Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{{format|}}} | ref | {{#if:{{{f|}}}|[http://www.conwaylife.com/forums/viewtopic.php?f={{{f}}}&t={{{t|}}}{{#if:{{{p|}}}|&p={{{p}}}#p{{{p}}}}} {{{title|}}}]|[http://www.conwaylife.com/forums/viewtopic.php?t={{{t|}}} {{{title|}}}]}} (discussion thread) at the ConwayLife.com forums | * {{#if:{{{f|}}}|[http://www.conwaylife.com/forums/viewtopic.php?f={{{f}}}&t={{{t|}}}{{#if:{{{p|}}}|&p={{{p}}}#p{{{p}}}}} {{{title|}}}]|[http://www.conwaylife.com/forums/viewtopic.php?t={{{t|}}} {{{title|}}}]}} (discussion thread) at the ConwayLife.com forums }} [[Category:Pages that link to the ConwayLife.com forums]]</includeonly><noinclude>This is a template for including links to threads at the '''[http://www.conwaylife.com/forums/ ConwayLife.com forums]''' in the "External Links" section of an article. It can take | <includeonly>{{#ifeq: {{{format|}}} | ref | {{#if:{{{f|}}}|[http://www.conwaylife.com/forums/viewtopic.php?f={{{f}}}&t={{{t|}}}{{#if:{{{p|}}}|&p={{{p}}}#p{{{p}}}}} {{{title|}}}]|[http://www.conwaylife.com/forums/viewtopic.php?t={{{t|}}} {{{title|}}}]}} (discussion thread) at the ConwayLife.com forums | * {{#if:{{{f|}}}|[http://www.conwaylife.com/forums/viewtopic.php?f={{{f}}}&t={{{t|}}}{{#if:{{{p|}}}|&p={{{p}}}#p{{{p}}}}} {{{title|}}}]|[http://www.conwaylife.com/forums/viewtopic.php?t={{{t|}}} {{{title|}}}]}} (discussion thread) at the ConwayLife.com forums }} [[Category:Pages that link to the ConwayLife.com forums]]</includeonly><noinclude>This is a template for including links to threads at the '''[http://www.conwaylife.com/forums/ ConwayLife.com forums]''' in the "External Links" section of an article. It can take five parameters: | ||
* ''t'', the id number of the thread being linked to; | |||
* ''f'', the id number of the forum the thread is located in (optional); | |||
* ''p'', the id number of a specific post to be linked to (optional); | |||
* ''title'', the title of the thread as it will appear in the link text; | |||
* ''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 is a simple example of its usage: | Here is a simple example of its usage: | ||
Revision as of 14:27, 2 July 2017
This is a template for including links to threads at the ConwayLife.com forums in the "External Links" section of an article. It can take five parameters:
- t, the id number of the thread being linked to;
- f, the id number of the forum the thread is located in (optional);
- p, the id number of a specific post to be linked to (optional);
- title, the title of the thread as it will appear in the link text;
- format, the way the resulting link should be formatted (optional):
- format=ref, format in a way suitable for <ref> ... </ref> tags.
Here is a simple example of its usage:
You type:
{{LinkForumThread|t=1452|title=Soup search results}}
You see:
- Soup search results (discussion thread) at the ConwayLife.com forums
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