Difference between revisions of "Template:Riesel prime dpl"

From Prime-Wiki
Jump to: navigation, search
(templ.contribs)
(Copying MultiRes code from Template:Riesel prime)
Line 6: Line 6:
 
*if a base is reserved (RReserved != "") then background is set green
 
*if a base is reserved (RReserved != "") then background is set green
 
[[Category:Prime collections]]</noinclude><includeonly>
 
[[Category:Prime collections]]</noinclude><includeonly>
|- {{#if:{{{RReserved|}}}|style="background:PaleGreen;"}}
+
|- {{#if:{{{RMultiRes|}}}{{{RReserved|}}}|style="background:PaleGreen;"}}
 
| align="right" {{!}} '''[[Riesel prime {{{Rk}}}|{{{Rk}}}]]'''
 
| align="right" {{!}} '''[[Riesel prime {{{Rk}}}|{{{Rk}}}]]'''
 
| align="center" {{!}} {{K-type|Riesel|{{{Rk}}}}}
 
| align="center" {{!}} {{K-type|Riesel|{{{Rk}}}}}
| align="center" {{!}} {{{RDate}}} {{#if:{{{RReserved|}}}|<br>{{Contribs|{{{RReserved}}}}}}}
+
| align="center" {{!}} {{#if:{{{RMultiRes|}}}|{{Project:Multi Reservation {{{RMultiRes}}}-Date}}|{{{RDate}}}}} {{#if:{{{RMultiRes|}}}|
| align="right" {{!}} {{Num|{{{RMaxn}}}}}<!--{{#if:{{{CKSieve|}}}|<br>([[:File:%PAGE% sieve.zip|sieve]])|}}-->
+
<br>{{Contribs|{{Project:Multi Reservation {{{RMultiRes}}}-Contributor}}}}|{{#if:{{{RReserved|}}}|<br>{{Contribs|{{{RReserved}}}}}}}}}
 +
| align="right" {{!}} {{#if:{{{RMultiRes|}}}|{{Num|{{Project:Multi Reservation {{{RMultiRes}}}-NMax}}}}|{{Num|{{{RMaxn}}}}}}}<!--{{#if:{{{CKSieve|}}}|<br>([[:File:%PAGE% sieve.zip|sieve]])|}}-->
 
| align="right" {{!}} {{{RNash}}}
 
| align="right" {{!}} {{{RNash}}}
 
| align="right" {{!}} {{NVal list|{{{RNlist}}}|count}}
 
| align="right" {{!}} {{NVal list|{{{RNlist}}}|count}}
 
| {{NVal list|{{{RNlist}}}|short}}</includeonly>
 
| {{NVal list|{{{RNlist}}}|short}}</includeonly>

Revision as of 06:02, 15 February 2020

Purpose

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

Explanations

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