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"
(counts corrected if reused) |
(Tag: Undo) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Purpose== | ==Purpose== | ||
− | DPL statement to display one row in a [[Williams prime]] table. | + | DPL statement to display one row in a [[Williams prime]] data table. |
==Explanations== | ==Explanations== | ||
*If a base is reserved (WiReserved != "") then background is set green. | *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 | ||
[[Category:Prime collections]]</noinclude><includeonly> | [[Category:Prime collections]]</noinclude><includeonly> | ||
− | |- {{#if:{{{WiReserved|}}}|style="background:PaleGreen;"}} | + | |- {{#if:{{{WiReserved|}}}|style="background:PaleGreen;"|{{#if:{{#pos:{{{WiRemarks|}}}|reuse}}|style="background:Gainsboro;"}}}} |
− | | align="right" {{!}} '''[[{{PAGENAME}} {{{WiBase}}}|{{{WiBase}}}]]''' | + | | align="right" {{!}} '''[[{{#sub:{{PAGENAME}}|0|17}} {{{WiBase}}}|{{{WiBase}}}]]''' |
− | | align="center" {{!}} {{{WiDate}}} {{#if:{{{WiReserved|}}}|<br> | + | | 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> |
Latest revision as of 23:05, 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