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"
m (Karbon moved page Proth prime dpl to Template:Proth prime dpl without leaving a redirect: templ.) |
(test) |
||
(15 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
==Explanations== | ==Explanations== | ||
− | *if a base is reserved ( | + | *if a base is reserved (RReserved <> "" / RMultiRes <> "") then background is set <span style="background:PaleGreen;">green</span>. |
[[Category:Prime collections]]</noinclude><includeonly> | [[Category:Prime collections]]</noinclude><includeonly> | ||
− | |- {{#if:{{{PReserved|}}}|style="background:PaleGreen;"}} | + | |- {{#if:{{{PMultiRes|}}}{{{PReserved|}}}|style="background:PaleGreen;"|{{#if:{{#pos:{{{PRemarks|}}}|reuse}}|style="background:Gainsboro;"}}}} |
− | | align="right" {{!}} '''[[Proth prime {{{Pk}}}|{{{Pk}}}]]''' | + | | align="right" {{!}} '''[[Proth prime {{{Pb}}} {{{Pk}}}|{{{Pk}}}]]''' |
| align="center" {{!}} {{K-type|Proth|{{{Pk}}}}} | | align="center" {{!}} {{K-type|Proth|{{{Pk}}}}} | ||
− | | align="center" {{!}} {{{PDate}}} {{#if:{{{ | + | | 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|{{{PMaxn}}}}} | + | | 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" {{!}} {{ | + | | align="right" {{!}} {{{PCount}}} |
− | | {{NVal list|{{{PNlist}}}|short}}</includeonly> | + | | {{#ifeq:{{{PCount}}}|0|{{#ifeq:{{{PNash}}}|0|{{#ifeq:{{{PMaxn}}}|0|No primes possible!}}}}|{{NVal list|{{{PNlist}}}|short}}}}</includeonly> |
Latest revision as of 18:34, 30 May 2024
Purpose
DPL statement to display one row in the Proth prime table.
Explanations
- if a base is reserved (RReserved <> "" / RMultiRes <> "") then background is set green.