Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3). |
Topics | Help • Register • News • History • How to • Sequences statistics • Template prototypes |
Difference between revisions of "Template:Carol-Kynea prime"
(using Contribs) |
(layout) |
||
Line 51: | Line 51: | ||
|CKMaxn=1234 | |CKMaxn=1234 | ||
|CKDate=2019-01-01 | |CKDate=2019-01-01 | ||
− | |CKReserved= | + | |CKReserved= |
|CKClist= | |CKClist= | ||
− | + | 2 | |
− | + | 3 | |
4 | 4 | ||
+ | 6 | ||
+ | 7 | ||
+ | 10 | ||
+ | 12 | ||
+ | 15 | ||
+ | 18 | ||
+ | 19 | ||
+ | 21 | ||
+ | 25 | ||
+ | 27 | ||
+ | 55 | ||
+ | 129 | ||
+ | 132 | ||
+ | 159 | ||
+ | 171 | ||
+ | 175 | ||
+ | 315 | ||
+ | 324 | ||
+ | 358 | ||
+ | 393 | ||
+ | 435 | ||
+ | 786 | ||
+ | 1459 | ||
+ | 1707 | ||
+ | 2923 | ||
+ | 6462 | ||
+ | 14289 | ||
+ | 39012 | ||
+ | 51637 | ||
+ | 100224;68426 | ||
+ | 108127;70044 | ||
+ | 110953;68504 | ||
+ | 175749;71961 | ||
+ | 185580;72288 | ||
+ | 226749;73109 | ||
+ | 248949;77385 | ||
+ | 253987;80384 | ||
+ | 520363 | ||
+ | 653490;121779 | ||
+ | 688042;121867 | ||
+ | 695631;121905 | ||
|CKKlist= | |CKKlist= | ||
− | 5; | + | 1 |
− | + | 2 | |
− | + | 3 | |
+ | 5 | ||
+ | 8 | ||
+ | 9 | ||
+ | 12 | ||
+ | 15 | ||
+ | 17 | ||
+ | 18 | ||
+ | 21 | ||
+ | 23 | ||
+ | 27 | ||
+ | 32 | ||
+ | 51 | ||
+ | 65 | ||
+ | 87 | ||
+ | 180 | ||
+ | 242 | ||
+ | 467 | ||
+ | 491 | ||
+ | 501 | ||
+ | 507 | ||
+ | 555 | ||
+ | 591 | ||
+ | 680 | ||
+ | 800 | ||
+ | 1070 | ||
+ | 1650 | ||
+ | 2813 | ||
+ | 3281 | ||
+ | 4217 | ||
+ | 5153 | ||
+ | 6287 | ||
+ | 6365 | ||
+ | 10088 | ||
+ | 10367 | ||
+ | 37035 | ||
+ | 45873 | ||
+ | 69312 | ||
+ | 102435;68943 | ||
+ | 106380;69438 | ||
+ | 108888;68958 | ||
+ | 110615;68900 | ||
+ | 281621;75878 | ||
+ | 369581 | ||
+ | 376050 | ||
+ | 442052 | ||
+ | 621443 | ||
+ | 661478;121801 | ||
|CKRemarks= | |CKRemarks= | ||
|CKSieve=y | |CKSieve=y | ||
Line 123: | Line 211: | ||
==Current data== | ==Current data== | ||
{| style="border:solid black 1px; border-radius:5px;" | {| style="border:solid black 1px; border-radius:5px;" | ||
− | | | + | | style="width="15%" style="background-color:SkyBlue" | |
{| | {| | ||
| align="right" | <b>Base :</b> || {{{CKBase}}} {{#if:{{{CKSieve|}}}| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|}} | | align="right" | <b>Base :</b> || {{{CKBase}}} {{#if:{{{CKSieve|}}}| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|}} | ||
Line 135: | Line 223: | ||
}} | }} | ||
|} | |} | ||
− | + | | style width="auto" | | |
− | | | ||
{| | {| | ||
| <b>C {{padleft:{{#if:{{{CKClist|}}}|{{#if:{{#pos:{{{CKRemarks|}}}|Power}}|{{#arraydefine:CL|{{{CKClist}}}}}{{#arraysize:CL}}|{{NVal list|{{{CKClist}}}|count}}|0}}}}|2}} : </b> {{NVal list|{{{CKClist}}}}} | | <b>C {{padleft:{{#if:{{{CKClist|}}}|{{#if:{{#pos:{{{CKRemarks|}}}|Power}}|{{#arraydefine:CL|{{{CKClist}}}}}{{#arraysize:CL}}|{{NVal list|{{{CKClist}}}|count}}|0}}}}|2}} : </b> {{NVal list|{{{CKClist}}}}} | ||
Line 144: | Line 231: | ||
| <b>K {{padleft:{{#if:{{{CKKlist|}}}|{{#if:{{#pos:{{{CKRemarks|}}}|Power}}|{{#arraydefine:CK|{{{CKKlist}}}}}{{#arraysize:CK}}|{{NVal list|{{{CKKlist}}}|count}}|0}}}}|2}} : </b> {{NVal list|{{{CKKlist}}}}} | | <b>K {{padleft:{{#if:{{{CKKlist|}}}|{{#if:{{#pos:{{{CKRemarks|}}}|Power}}|{{#arraydefine:CK|{{{CKKlist}}}}}{{#arraysize:CK}}|{{NVal list|{{{CKKlist}}}|count}}|0}}}}|2}} : </b> {{NVal list|{{{CKKlist}}}}} | ||
|} | |} | ||
− | |||
|}{{#if:{{{CKRemarks|}}}| | |}{{#if:{{{CKRemarks|}}}| | ||
{{{!}} | {{{!}} |
Revision as of 17:57, 25 April 2019
Description
Template Carol-Kynea prime
Display of current data for Carol/Kynea-type base.
Notes:
- The page title is displayed with the formula.
- The category Carol-Kynea prime is set.
- If no Carol primes are given, the page is categorized into Carol-Kynea without Carol.
- If no Kynea primes are given, the page is categorized into Carol-Kynea without Kynea.
- If no primes are given at all, the page is categorized into Carol-Kynea without both.
- If <CKRemarks> contains "Power" the page is categorized into Carol-Kynea power-of.
Calling
{{Carol-Kynea prime |CKBase= |CKMaxn= |CKDate= |CKReserved= |CKClist= |CKKlist= |CKRemarks= |CKSieve= }}
Example
{{Carol-Kynea prime |CKBase=2 |CKMaxn=1234 |CKDate=2019-01-01 |CKReserved=Karsten Bonath |CKClist= 1;234;C:text 2;564 4 |CKKlist= 5;C:Another text 6;C:see [[Examples]] 7 |CKRemarks=None |CKSieve=y }}
will create:
Current data
|
|
Template-data
<templatedata> { "params": { "CKBase": { "type": "string", "required": true, "label": "Base b", "description": "Base for this type" }, "CKMaxn": { "type": "string", "label": "Max n", "description": "Maximal searched n-value" }, "CKDate": { "type": "string", "label": "Date", "description": "Date of last edit" }, "CKReserved": { "type": "string", "label": "Reserved by", "description": "Reserved by contributor, if given" }, "CKClist": { "type": "content", "label": "List C-primes", "description": "List of prime n-values on Carol-side" }, "CKKlist": { "type": "string", "label": "List K-primes", "description": "List of prime n-values on Kynea-side" }, "CKRemarks": { "type": "string", "label": "Remarks", "description": "Remarks for this base" }, "CKSieve": { "type": "string", "label": "Sieve available", "description": "If a sieve file is available, the link is generated" } }, "description": "Current data for Carol/Kynea base ", "format": "block" } </templatedata>