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:HistC"

From Prime-Wiki
Jump to: navigation, search
(new)
 
(date as link to forum post)
Line 9: Line 9:
 
:2nd: search value or range
 
:2nd: search 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>
{{HistC|2019-04-20|1000|Karsten Bonath,No Prime Left Behind}}
+
{{HistC|2019-04-04|1000000|Karsten Bonath,No Prime Left Behind|512625}}
 
{{HistC|2010|50000|Karsten Bonath,Smith}}
 
{{HistC|2010|50000|Karsten Bonath,Smith}}
 
{{HistC|?|50000 - 100000|Karsten Bonath}}
 
{{HistC|?|50000 - 100000|Karsten Bonath}}
 
</pre>
 
</pre>
 
gives
 
gives
{{HistC|2019-04-20|1000|Karsten Bonath,No Prime Left Behind}}
+
{{HistC|2019-04-04|1000000|Karsten Bonath,No Prime Left Behind|512625}}
 
{{HistC|2010|50000|Karsten Bonath,Smith}}
 
{{HistC|2010|50000|Karsten Bonath,Smith}}
 
{{HistC|?|50000 - 100000|Karsten Bonath}}
 
{{HistC|?|50000 - 100000|Karsten Bonath}}
[[Category:Templates]]</noinclude><includeonly>*<b>{{{1}}}</b>: Checked {{#if:{{#pos:{{{2}}}|-}}||to}} <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>: Checked {{#if:{{#pos:{{{2}}}|-}}||to}} <b><i>n</i> = {{{2}}}</b>, {{Contribs|{{{3}}}}}</includeonly>

Revision as of 13:23, 23 April 2019

Template HistC

Purpose

Prints a line in the history of the primes with status "Checked to...".

Parameter

1st: Date, year or any text
2nd: search 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

{{HistC|2019-04-04|1000000|Karsten Bonath,No Prime Left Behind|512625}}
{{HistC|2010|50000|Karsten Bonath,Smith}}
{{HistC|?|50000 - 100000|Karsten Bonath}}

gives