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:HistP"
(4.th param) |
(corected for 4th param.) |
||
Line 3: | Line 3: | ||
==Purpose== | ==Purpose== | ||
− | Prints a line in the history of the [[:Category:Prime|primes]] with status "<b>P</b>roved by ...". | + | Prints a line in the history of the [[:Category:Prime|primes]] with status "<b>P</b>roved prime by ...". |
− | A proof of a [[probable prime | + | A link to the proof of a [[probable prime]](PRP) is listed when given. |
==Parameter== | ==Parameter== | ||
:1st: Date, year or any text | :1st: Date, year or any text | ||
− | :2nd: contributor: any person or project | + | :2nd: contributor: any person or project or {{Vn}}-value |
− | :3rd: if given, it has to be a thread/post ID combination (for more information see [[:Template:HistLink|HistLink]]) | + | :3rd: if given, it has to be a thread/post ID combination (for more information see [[:Template:HistLink|HistLink]]) or contributor |
+ | :4th: a thread/post ID | ||
==Examples== | ==Examples== | ||
<pre> | <pre> | ||
− | {{HistP|2015-01-20| | + | {{HistP|2015-01-20|Karsten Bonath}} 2 parameters |
− | {{HistP|2015-01-20|49081| | + | {{HistP|2015-01-20|Karsten Bonath|222222}} 3 parameters: 3rd is link |
+ | {{HistP|2015-01-20|49081|Karsten Bonath}} 3 parameters: 2nd is n-value | ||
+ | {{HistP|2015-01-20|49081|Karsten Bonath|333333}} 4 paramters | ||
</pre> | </pre> | ||
gives | gives | ||
− | :{{HistP|2015-01-20| | + | :{{HistP|2015-01-20|Karsten Bonath}} |
− | :{{HistP|2015-01-20|49081| | + | :{{HistP|2015-01-20|Karsten Bonath|222222}} |
− | [[Category:Templates]]</noinclude><includeonly>*<b>{{#if:{{{4|}}}| | + | :{{HistP|2015-01-20|49081|Karsten Bonath}} |
− | {{HistLink|{{{1}}}|{{{4}}}|{{{ | + | :{{HistP|2015-01-20|49081|Karsten Bonath|333333}} |
− | {{HistLink|{{{1}}}|{{{3}}}|{{{ | + | [[Category:Templates]]</noinclude><includeonly>*<b><!-- |
+ | -->{{#if:{{{4|}}}|{{HistLink|{{{1}}}|{{{4}}}}}</b>: <b>Proved prime for {{Vn}}={{{2}}}</b> by {{Contribs|{{{3}}}}} | ||
+ | <!-- -->|{{#if:{{{3|}}}|{{#if:{{Isnum|{{{2}}}}}|{{{1}}}</b>: <b>Proved prime for {{Vn}}={{{2}}}</b> by {{Contribs|{{{3}}}}} | ||
+ | <!-- -->|{{HistLink|{{{1}}}|{{{3}}}}}</b>: <b>Proved prime</b> by {{Contribs|{{{2}}}}} | ||
+ | <!-- -->}} | ||
+ | <!-- -->|{{{1}}}</b>: <b>Proved prime</b> by {{Contribs|{{{2}}}}} | ||
+ | <!-- -->}} | ||
+ | }} | ||
+ | </includeonly> |
Revision as of 13:31, 13 March 2024
Template HistP
Purpose
Prints a line in the history of the primes with status "Proved prime by ...".
A link to the proof of a probable prime(PRP) is listed when given.
Parameter
- 1st: Date, year or any text
- 2nd: contributor: any person or project or n-value
- 3rd: if given, it has to be a thread/post ID combination (for more information see HistLink) or contributor
- 4th: a thread/post ID
Examples
{{HistP|2015-01-20|Karsten Bonath}} 2 parameters {{HistP|2015-01-20|Karsten Bonath|222222}} 3 parameters: 3rd is link {{HistP|2015-01-20|49081|Karsten Bonath}} 3 parameters: 2nd is n-value {{HistP|2015-01-20|49081|Karsten Bonath|333333}} 4 paramters
gives
- 2015-01-20: Proved prime by Karsten Bonath
- 2015-01-20: Proved prime by Karsten Bonath
- 2015-01-20: Proved prime for n = 49081 by Karsten Bonath
- 2015-01-20: Proved prime for n = 49081 by Karsten Bonath