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:Proth prime dpl"

From Prime-Wiki
Jump to: navigation, search
m
(shortend)
Line 5: Line 5:
 
==Explanations==
 
==Explanations==
 
*if a base is reserved (PReserved != "") then background is set green
 
*if a base is reserved (PReserved != "") then background is set green
[[Category:Prime collections]]</noinclude><includeonly>{{#if:{{{PMultiRes|}}}|
+
[[Category:Prime collections]]</noinclude><includeonly>
{{!}}- style="background:PaleGreen;"
+
{{!}}- {{#if:{{{PMultiRes|}}}{{{PReserved|}}}|style="background:PaleGreen;"}}
 
{{!}} align="right" {{!}} '''[[Proth prime 2 {{{Pk}}}|{{{Pk}}}]]'''
 
{{!}} align="right" {{!}} '''[[Proth prime 2 {{{Pk}}}|{{{Pk}}}]]'''
 
{{!}} align="center" {{!}} {{K-type|Proth|{{{Pk}}}}}
 
{{!}} align="center" {{!}} {{K-type|Proth|{{{Pk}}}}}
{{!}} align="center" {{!}} {{Multi Reservation:{{{PMultiRes}}}-Date}}<br>[[Multi Reservation:{{{PMultiRes}}}|{{Multi Reservation:{{{PMultiRes}}}-Contributor}}]] (M)
+
{{!}} align="center" {{!}} {{#if:{{{PMultiRes|}}}|{{Multi Reservation:{{{PMultiRes}}}-Date}}|{{{PDate}}}}} {{#if:{{{PMultiRes|}}}|<br>{{Contribs|{{Multi Reservation:{{{PMultiRes}}}-Name}}}} [[Multi Reservation:{{{PMultiRes}}}|(MR{{{PMultiRes}}})]]|{{#if:{{{PReserved|}}}|<br>{{Contribs|{{{PReserved}}}}}}}}}
{{!}} align="right" {{!}} {{Num|{{Multi Reservation:{{{PMultiRes}}}-NMax}}}}
+
{{!}} align="right" {{!}} {{#if:{{{PMultiRes|}}}|{{Num|{{Multi Reservation:{{{PMultiRes}}}-NMax}}}}|{{Num|{{{PMaxn}}}}}}}{{#if:{{{PSieve|}}}|<br>([[:File:%PAGE% sieve.zip|sieve]])|}}
 
{{!}} align="right" {{!}} {{{PNash}}}
 
{{!}} align="right" {{!}} {{{PNash}}}
{{!}} align="right" {{!}} {{NVal list|{{{PNlist}}}|count}}
+
{{!}} align="right" {{!}} {{{PCount}}}
{{!}} {{NVal list|{{{PNlist}}}|short}}
+
{{!}} {{#ifeq:{{{PCount}}}|0|{{#ifeq:{{{PNash}}}|0|{{#ifeq:{{{PMaxn}}}|0|No primes possible!}}}}|{{NVal list|{{{PNlist}}}|short}}}}
|
+
</includeonly>
{{!}}- {{#if:{{{PReserved|}}}| style="background:PaleGreen;"}}
 
{{!}} align="right" {{!}} '''[[Proth prime 2 {{{Pk}}}|{{{Pk}}}]]'''
 
{{!}} align="center" {{!}} {{K-type|Proth|{{{Pk}}}}}
 
{{!}} align="center" {{!}} {{{PDate}}} {{#if:{{{PReserved|}}}|<br>{{Contribs|{{{PReserved}}}}}}}
 
{{!}} align="right" {{!}} {{Num|{{{PMaxn}}}}}
 
{{!}} align="right" {{!}} {{{PNash}}}
 
{{!}} align="right" {{!}} {{NVal list|{{{PNlist}}}|count}}
 
{{!}} {{NVal list|{{{PNlist}}}|short}}
 
}}</includeonly>
 

Revision as of 07:42, 13 July 2021

Purpose

DPL statement to display one row in the Proth prime table.

Explanations

  • if a base is reserved (PReserved != "") then background is set green