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"

From Prime-Wiki
Jump to: navigation, search
(corected for 4th param.)
(spacing)
 
Line 26: Line 26:
 
:{{HistP|2015-01-20|49081|Karsten Bonath|333333}}
 
:{{HistP|2015-01-20|49081|Karsten Bonath|333333}}
 
[[Category:Templates]]</noinclude><includeonly>*<b><!--
 
[[Category:Templates]]</noinclude><includeonly>*<b><!--
-->{{#if:{{{4|}}}|{{HistLink|{{{1}}}|{{{4}}}}}</b>: <b>Proved prime for {{Vn}}={{{2}}}</b> by {{Contribs|{{{3}}}}}
+
-->{{#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}}}}}
+
<!-- -->|{{#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}}}}}
 
<!--                -->|{{HistLink|{{{1}}}|{{{3}}}}}</b>: <b>Proved prime</b> by {{Contribs|{{{2}}}}}
 
<!--                -->}}
 
<!--                -->}}

Latest revision as of 10:46, 9 April 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