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:Carol-Kynea prime dpl"
(color for "Power of...") |
(layout changed: on line with lists with <hr>, text added) |
||
Line 1: | Line 1: | ||
− | <noinclude>[[Category:Templates]]</noinclude><includeonly> align="right | + | <noinclude> |
− | | align="right | + | ==Purpose== |
− | | | + | DPL statement to display one row in the [[Carol-Kynea_table|table of Carol/Kynea]] primes |
− | | {{#arraydefine:C|{{{CKClist}}}|,}} '''C {{#arraysize:C}}''': {{{CKClist}}} | + | |
− | + | ==Explanations== | |
− | + | *if a base is reserved (CKReserved != "") then background is set green | |
+ | *if a base is a power of another (CKRemarks contains "Power") then background is set dark grey | ||
+ | *counts of listed n-values is generated here | ||
+ | [[Category:Templates]]</noinclude><includeonly> align="right" {{#if:{{{CKReserved|}}}|style="background:PaleGreen;"}}{{#if:{{#pos:{{{CKRemarks|}}}|Power}}|style="background:Gainsboro;"}}{{!}} [[Carol-Kynea base {{{CKBase}}}|{{{CKBase}}}]] | ||
+ | | align="right" {{!}} {{{CKMaxn}}} | ||
+ | | {{{CKDate}}} {{#if:{{{CKReserved|}}}|<br>{{{CKReserved}}}}} | ||
+ | | {{#arraydefine:C|{{{CKClist}}}|,}} '''C {{#arraysize:C}}''': {{{CKClist}}}<hr>{{#arraydefine:K|{{{CKKlist}}}|,}} '''K {{#arraysize:K}}''': {{{CKKlist}}}</includeonly> |
Revision as of 08:08, 15 March 2019
Purpose
DPL statement to display one row in the table of Carol/Kynea primes
Explanations
- if a base is reserved (CKReserved != "") then background is set green
- if a base is a power of another (CKRemarks contains "Power") then background is set dark grey
- counts of listed n-values is generated here