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
m
(use <var>)
 
(One intermediate revision 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 separated 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]]).
 
:4th: if given, it has to be a thread/post ID combination (for more information see [[:Template:HistLink|template HistLink]]).
Line 16: Line 16:
 
{{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
Line 21: Line 22:
 
{{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>{{#if:{{{4|}}}|{{HistLink|{{{1}}}|{{{4}}}}}|{{{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><var>n</var> = {{{2}}}</b>|#default={{{2}}}}}, {{Contribs|{{{3}}}}}</includeonly>

Latest revision as of 11:49, 10 August 2020

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