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"
(example corr.) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
==Purpose== | ==Purpose== | ||
− | Prints a line in the history of the [[:Category:Prime|primes]] with status "<b>F</b>ound n =...". | + | Prints a line in the history of the [[:Category:Prime|primes]] with status "<b>F</b>ound <var>n</var> =...". |
==Parameter== | ==Parameter== | ||
:1st: Date, year or any text | :1st: Date, year or any text | ||
− | :2nd: n-value or range or term (beginning with a digit the term "n = " will be output in front) | + | :2nd: <var>n</var>-value or range or term (beginning with a digit the term "<var>n</var> = " will be output in front) |
: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 21: | Line 21: | ||
{{HistF|2019-04-20|1234|Karsten Bonath,No Prime Left Behind|443495}} | {{HistF|2019-04-20|1234|Karsten Bonath,No Prime Left Behind|443495}} | ||
{{HistF|2010|987|Karsten Bonath,Smith}} | {{HistF|2010|987|Karsten Bonath,Smith}} | ||
− | {{HistF|2019-07-01|123|Karsten Bonath}} | + | {{HistF|2019-07-01|123, 456|Karsten Bonath}} |
{{HistF|?|L(44541,746)|Karsten Bonath}} | {{HistF|?|L(44541,746)|Karsten Bonath}} | ||
− | [[Category:Templates]]</noinclude><includeonly>*<b>{{#if:{{{4|}}}|{{HistLink|{{{1}}}|{{{4}}}}}|{{{1}}}}}</b>: Found <b>{{#switch:{{#sub:{{{2}}}|0|1}}|0|1|2|3|4|5|6|7|8|9=< | + | [[Category:Templates]]</noinclude><includeonly>*<b>{{#if:{{{4|}}}|{{HistLink|{{{1}}}|{{{4}}}}}|{{{1}}}}}</b>: Found <b>{{#switch:{{#sub:{{{2}}}|0|1}}|0|1|2|3|4|5|6|7|8|9=<var>n</var> = }}{{{2}}}</b>, {{Contribs|{{{3}}}}}<!-- |
− | -->{{#ifeq:{{NAMESPACENUMBER}}| | + | -->{{#ifeq:{{NAMESPACENUMBER}}|0|<!-- |
-->{{#if:{{#pos:{{PAGENAME}}|Riesel prime}}|<!-- | -->{{#if:{{#pos:{{PAGENAME}}|Riesel prime}}|<!-- | ||
-->{{#arraydefine:_cont|{{{3}}}}}{{#loop:i | -->{{#arraydefine:_cont|{{{3}}}}}{{#loop:i |
Latest revision as of 09:26, 13 March 2024
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 or term (beginning with a digit the term "n = " will be output in front)
- 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
{{HistF|2019-04-20|1234|Karsten Bonath,No Prime Left Behind|443495}} {{HistF|2010|987|Karsten Bonath,Smith}} {{HistF|2019-07-01|123, 456|Karsten Bonath}} {{HistF|?|L(44541,746)|Karsten Bonath}}
gives
- 2019-04-20: Found n = 1234, Karsten Bonath, No Prime Left Behind
- 2010: Found n = 987, Karsten Bonath, Smith
- 2019-07-01: Found n = 123, 456, Karsten Bonath
- ?: Found L(44541,746), Karsten Bonath