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)
 
(spacing)
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
==Parameter==
 
==Parameter==
 
:1st: Date, year or any text
 
:1st: Date, year or any text
:2nd: search value or range
+
:2nd: search value or range (first character is digit) or text (first character is letter)
:3rd: contributor(s): any person or project as comma seperated list printed as links
+
: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|template HistLink]]).
  
 
==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}}
 +
{{HistC|2019-12-12|Nothing to report here|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}}
{{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>
+
{{HistC|2019-12-12|Nothing to report here|Karsten Bonath}}
 +
[[Category:Templates]]</noinclude><includeonly>*<b>{{#if:{{{4|}}}|{{HistLink|{{{1}}}|{{{4}}}}}|{{{1}}}}}</b>: {{#switch:{{#sub:{{{2}}}|0|1}}|0|1|2|3|4|5|6|7|8|9=Checked {{#if:{{#pos:{{{2}}}|-}}||to}} <b>{{Vn}} = {{#replace:{{{2}}}|-|&nbsp;-&nbsp;}}</b>|#default={{{2}}}}}, {{Contribs|{{{3}}}}}</includeonly>

Latest revision as of 20:13, 14 August 2024

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 (first character is digit) or text (first character is letter)
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

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

gives