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

From Prime-Wiki
Jump to: navigation, search
m
m
Line 8: Line 8:
 
[[Category:Prime collections]]</noinclude><includeonly>
 
[[Category:Prime collections]]</noinclude><includeonly>
 
|- {{#if:{{{WiReserved|}}}|style="background:PaleGreen;"|{{#if:{{#pos:{{{WiRemarks|}}}|reuse}}|style="background:Gainsboro;"}}}}
 
|- {{#if:{{{WiReserved|}}}|style="background:PaleGreen;"|{{#if:{{#pos:{{{WiRemarks|}}}|reuse}}|style="background:Gainsboro;"}}}}
| align="right" {{!}} '''[[{{#sub:{{PAGENAME}}|0|17}} {{{WiBase}}}|{{{WiBase}}}]]'''
+
| align="right" {{!}} '''[[{{PAGENAME}}|{{{WiBase}}}]]'''
| align="center" {{!}} {{{WiDate}}} {{#if:{{{WiReserved|}}}|<br>{{Contribs|{{{WiReserved}}}}}}}
+
| align="center" {{!}} {{{WiDate}}}{{#if:{{{WiReserved|}}}|<br>{{Contribs|{{{WiReserved}}}}}}}
 
| align="right" {{!}} {{Num|{{{WiMaxn}}}}}<!--{{#if:{{{WiSieve|}}}|<br>([[:File:%PAGE% sieve.zip|sieve]])|}}-->
 
| align="right" {{!}} {{Num|{{{WiMaxn}}}}}<!--{{#if:{{{WiSieve|}}}|<br>([[:File:%PAGE% sieve.zip|sieve]])|}}-->
 
| align="right" {{!}} {{#if:{{#pos:{{{WiRemarks|}}}|reuse}}|{{#arraydefine:L|{{{WiNlist}}}}}{{#arraysize:L}}|{{NVal list|{{{WiNlist}}}|count}}}}
 
| align="right" {{!}} {{#if:{{#pos:{{{WiRemarks|}}}|reuse}}|{{#arraydefine:L|{{{WiNlist}}}}}{{#arraysize:L}}|{{NVal list|{{{WiNlist}}}|count}}}}
 
| {{NVal list|{{{WiNlist}}}|short}}</includeonly>
 
| {{NVal list|{{{WiNlist}}}|short}}</includeonly>

Revision as of 22:52, 31 July 2021

Purpose

DPL statement to display one row in a Williams prime data table.

Explanations

  • If a base is reserved (WiReserved != "") then background is set green.
  • if a base is a reuse of another (WiRemarks contains "reuse") then background is set dark grey