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
(new)
 
(spacing)
 
(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>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|PRP]] is given with a link.
+
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|Richard Dickerson|393006}}
+
{{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
 
</pre>
 
</pre>
 
gives
 
gives
{{HistP|2015-01-20|Richard Dickerson|393006}}
+
:{{HistP|2015-01-20|Karsten Bonath}}
[[Category:Templates]]</noinclude><includeonly>*<b>{{#if:{{{3|}}}|{{HistLink|{{{1}}}|{{{3}}}}}|{{{1}}}}}</b>: <b>Proved</b> by {{Contribs|{{{2}}}}}</includeonly>
+
:{{HistP|2015-01-20|Karsten Bonath|222222}}
 +
:{{HistP|2015-01-20|49081|Karsten Bonath}}
 +
:{{HistP|2015-01-20|49081|Karsten Bonath|333333}}
 +
[[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>

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