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
("No primes possible" added)
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Purpose==
 
==Purpose==
DPL statement to display one row in the [[Riesel prime table]].
+
DPL statement to display one row in the Riesel prime tables.
  
 
==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;"}}
| align="right" {{!}} '''[[Riesel prime {{{Rk}}}|{{{Rk}}}]]'''
+
| align="right" {{!}} '''[[Riesel prime {{{Rb}}} {{{Rk}}}|{{{Rk}}}]]'''
 
| align="center" {{!}} {{K-type|Riesel|{{{Rk}}}}}
 
| align="center" {{!}} {{K-type|Riesel|{{{Rk}}}}}
| align="center" {{!}} {{#if:{{{RMultiRes|}}}|{{Multi Reservation:{{{RMultiRes}}}-Date}}|{{{RDate}}}}} {{#if:{{{RMultiRes|}}}|
+
| align="center" {{!}} {{#if:{{{RMultiRes|}}}|{{Multi Reservation:{{{RMultiRes}}}-Date}}|{{{RDate}}}}} {{#if:{{{RMultiRes|}}}|<br>{{Contribs|{{Multi Reservation:{{{RMultiRes}}}-Name}}}} [[Multi Reservation:{{{RMultiRes}}}|(MR{{{RMultiRes}}})]]|{{#if:{{{RReserved|}}}|<br>{{Contribs|{{{RReserved}}}}}}}}}
<br>{{Contribs|{{Multi Reservation:{{{RMultiRes}}}-Name}}}}|{{#if:{{{RReserved|}}}|<br>{{Contribs|{{{RReserved}}}}}}}}}
+
| align="right" {{!}} {{#if:{{{RMultiRes|}}}|{{Multi Reservation:{{{RMultiRes}}}-NMax}}|{{{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>

Latest revision as of 22:02, 1 August 2021

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.