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

From Prime-Wiki
Jump to: navigation, search
(new)
 
(LF deleted)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
==Parameters==
 
==Parameters==
 
:1st: Date, year, or any text
 
:1st: Date, year, or any text
:2nd: upper range of the sieve file
+
:2nd: range of the sieve file
 
:3rd: contributor(s): any person or project as comma separated list printed as links
 
:3rd: contributor(s): any person or project as comma separated list printed as links
:4th: if given, lower range of the sieve file
+
:4th: if given, it has to be a thread/post ID combination (for more information see [[:Template:HistLink|template HistLink]]).
:5th: if given, it has to be a thread/post ID combination (for more information see [[:Template:HistLink|template HistLink]]).
 
 
 
If the 4th parameter is not given, then it is assumed that the file starts from n = 1.
 
  
 
==Examples==
 
==Examples==
 
<pre>
 
<pre>
{{HistS|2019-04-01|150000|Dylan Delgado|120000|512384}}
+
{{HistS|2019-04-01|120000-150000|Dylan Delgado|512384}}
{{HistS|2017|50M|PrimeGrid}}
+
{{HistS|2017|10M-50M|PrimeGrid}}
{{HistS|?|500|Karsten Bonath}}
+
{{HistS|?|1-500|Karsten Bonath}}, more information
 
</pre>
 
</pre>
 
gives
 
gives
{{HistS|2019-04-01|150000|Dylan Delgado|120000|512384}}
+
{{HistS|2019-04-01|120000-150000|Dylan Delgado|512384}}
{{HistS|2017|50M|PrimeGrid}}
+
{{HistS|2017|10M-50M|PrimeGrid}}
{{HistS|?|500|Karsten Bonath}}
+
{{HistS|?|1-500|Karsten Bonath}}, more information
 
[[Category:Templates]]
 
[[Category:Templates]]
</noinclude>
+
</noinclude><includeonly>*<b>{{#if:{{{4|}}}|{{HistLink|{{{1}}}|{{{4}}}}}|{{{1}}}}}</b>: Sieve file created: <b><var>n</var> = {{{2}}}</b>, {{Contribs|{{{3}}}}}</includeonly>
<includeonly>*<b>{{#if:{{{5|}}}|{{HistLink|{{{1}}}|{{{5}}}}}|{{{1}}}}}</b>: Sieve file created: <b><i>n</i> = {{#if:{{{4|}}}|{{{4}}}|1}}-{{{2}}}</b>, {{Contribs|{{{3}}}}}
 

Latest revision as of 06:21, 22 November 2021

Template HistS

Purpose

Prints a line in the history of the primes with status "Sieve file created: ..."

Parameters

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

Examples

{{HistS|2019-04-01|120000-150000|Dylan Delgado|512384}}
{{HistS|2017|10M-50M|PrimeGrid}}
{{HistS|?|1-500|Karsten Bonath}}, more information

gives