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

From Prime-Wiki
Jump to: navigation, search
m
(use only RCount for countings)
Line 4: Line 4:
  
 
==Explanations==
 
==Explanations==
*if a base is reserved (RReserved != "") then background is set green
+
*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:{{{RMultiRes|}}}{{{RReserved|}}}|style="background:PaleGreen;"}}
 
|- {{#if:{{{RMultiRes|}}}{{{RReserved|}}}|style="background:PaleGreen;"}}
Line 13: Line 13:
 
| align="right" {{!}} {{#if:{{{RMultiRes|}}}|{{Num|{{Multi Reservation:{{{RMultiRes}}}-NMax}}}}|{{Num|{{{RMaxn}}}}}}}{{#if:{{{RSieve|}}}|<br>([[:File:%PAGE% sieve.zip|sieve]])|}}
 
| align="right" {{!}} {{#if:{{{RMultiRes|}}}|{{Num|{{Multi Reservation:{{{RMultiRes}}}-NMax}}}}|{{Num|{{{RMaxn}}}}}}}{{#if:{{{RSieve|}}}|<br>([[:File:%PAGE% sieve.zip|sieve]])|}}
 
| align="right" {{!}} {{{RNash}}}
 
| align="right" {{!}} {{{RNash}}}
| align="right" {{!}} {{#if:{{{RCount|}}}|{{{RCount}}}|{{NVal list|{{{RNlist}}}|count}}}}
+
| align="right" {{!}} {{{RCount}}
| {{#ifeq:{{{RCount}}}|0|{{#ifeq:{{{RNash}}}|0|{{#ifeq:{{{RMaxn}}}|0|No primes possible!}}}}}}{{NVal list|{{{RNlist}}}|short}}</includeonly>
+
| {{#ifeq:{{{RCount}}}|0|{{#ifeq:{{{RNash}}}|0|{{#ifeq:{{{RMaxn}}}|0|No primes possible!}}}}|{{NVal list|{{{RNlist}}}|short}}}}</includeonly>

Revision as of 20:25, 30 July 2020

Purpose

DPL statement to display one row in the Riesel prime tables.

Explanations

  • if a base is reserved (RReserved <> "" / RMultiRes <> "") then background is set green.