Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

Difference between revisions of "Template:HistF"

From Prime-Wiki
Jump to: navigation, search
(Add parameter for linking to a Mersenneforum post)
(using HistLink)
Line 9: Line 9:
 
:2nd: n-value or range
 
:2nd: n-value or range
 
:3rd: contributor(s): any person or project as comma seperated list printed as links
 
:3rd: contributor(s): any person or project as comma seperated list printed as links
:4th: if given, it has to be the ID of a [[MersenneForum]] post
+
:4th: if given, it has to be a thread/post ID combination (for more information see [[:Template:HistLink|template HistLink]]).
  
 
==Examples==
 
==Examples==
Line 21: Line 21:
 
{{HistF|2010|50000|Karsten Bonath,Smith}}
 
{{HistF|2010|50000|Karsten Bonath,Smith}}
 
{{HistF|?|50000 - 100000|Karsten Bonath}}
 
{{HistF|?|50000 - 100000|Karsten Bonath}}
[[Category:Templates]]</noinclude><includeonly>*<b>{{#if:{{{4|}}}|<span class=plainlinks>[https://www.mersenneforum.org/showpost.php?p={{{4}}} {{{1}}}]</span>|{{{1}}}}}</b>: Found <b><i>n</i> = {{{2}}}</b>, {{Contribs|{{{3}}}}}</includeonly>
+
[[Category:Templates]]</noinclude><includeonly>*<b>{{#if:{{{4|}}}|{{HistLink|{{{1}}}|{{{4}}}}}|{{{1}}}}}</b>: Found <b><i>n</i> = {{{2}}}</b>, {{Contribs|{{{3}}}}}</includeonly>

Revision as of 07:47, 24 April 2019

Template HistF

Purpose

Prints a line in the history of the primes with status "Found n =...".

Parameter

1st: Date, year or any text
2nd: n-value or range
3rd: contributor(s): any person or project as comma seperated list printed as links
4th: if given, it has to be a thread/post ID combination (for more information see template HistLink).

Examples

{{HistF|2019-04-20|1000|Karsten Bonath,No Prime Left Behind|443495}}
{{HistF|2010|50000|Karsten Bonath,Smith}}
{{HistF|?|50000 - 100000|Karsten Bonath}}

gives