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"
m |
(output term) |
||
Line 7: | Line 7: | ||
==Parameter== | ==Parameter== | ||
:1st: Date, year or any text | :1st: Date, year or any text | ||
− | :2nd: n-value or range | + | :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 | :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 13: | Line 13: | ||
==Examples== | ==Examples== | ||
<pre> | <pre> | ||
− | {{HistF|2019-04-20| | + | {{HistF|2019-04-20|1234|Karsten Bonath,No Prime Left Behind|443495}} |
− | {{HistF|2010| | + | {{HistF|2010|987|Karsten Bonath,Smith}} |
− | {{HistF|?| | + | {{HistF|2019-07-01|123, 456|Karsten Bonath}} |
+ | {{HistF|?|L(44541,746)|Karsten Bonath}} | ||
</pre> | </pre> | ||
gives | gives | ||
− | {{HistF|2019-04-20| | + | {{HistF|2019-04-20|1234|Karsten Bonath,No Prime Left Behind|443495}} |
− | {{HistF|2010| | + | {{HistF|2010|987|Karsten Bonath,Smith}} |
− | {{HistF|?| | + | {{HistF|2019-07-01|123, 456|Karsten Bonath}} |
− | [[Category:Templates]]</noinclude><includeonly>*<b>{{#if:{{{4|}}}|{{HistLink|{{{1}}}|{{{4}}}}}|{{{1}}}}}</b>: Found <b><i>n</i> = {{{2}}}</b>, {{Contribs|{{{3}}}}}</includeonly> | + | {{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=<i>n</i> = }}{{{2}}}</b>, {{Contribs|{{{3}}}}}</includeonly> |
Revision as of 11:03, 28 July 2019
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