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
(new)
 
(Add parameter for linking to a Mersenneforum post)
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
  
 
==Examples==
 
==Examples==
 
<pre>
 
<pre>
{{HistF|2019-04-20|1000|Karsten Bonath,No Prime Left Behind}}
+
{{HistF|2019-04-20|1000|Karsten Bonath,No Prime Left Behind|443495}}
 
{{HistF|2010|50000|Karsten Bonath,Smith}}
 
{{HistF|2010|50000|Karsten Bonath,Smith}}
 
{{HistF|?|50000 - 100000|Karsten Bonath}}
 
{{HistF|?|50000 - 100000|Karsten Bonath}}
 
</pre>
 
</pre>
 
gives
 
gives
{{HistF|2019-04-20|1000|Karsten Bonath,No Prime Left Behind}}
+
{{HistF|2019-04-20|1000|Karsten Bonath,No Prime Left Behind|443495}}
 
{{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>{{{1}}}</b>: Found <b><i>n</i> = {{{2}}}</b>, {{Contribs|{{{3}}}}}</includeonly>
+
[[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>

Revision as of 14:38, 23 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 the ID of a MersenneForum post

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