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"
(layout changed) |
(aligns) |
||
Line 125: | Line 125: | ||
| <div width="15%" style="background-color:SkyBlue"> | | <div width="15%" style="background-color:SkyBlue"> | ||
{| | {| | ||
− | | <b>Base :</b> || {{{CKBase}}} {{#if:{{{CKSieve|}}}| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|}} | + | | align="right" | <b>Base :</b> || {{{CKBase}}} {{#if:{{{CKSieve|}}}| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|}} |
|- | |- | ||
− | | <b>Max <i>n</i> :</b> || {{Num|{{{CKMaxn}}}}} | + | | align="right" | <b>Max <i>n</i> :</b> || {{Num|{{{CKMaxn}}}}} |
|- | |- | ||
− | | <b>Date :</b> || {{{CKDate}}} | + | | align="right" | <b>Date :</b> || {{{CKDate}}} |
|- | |- | ||
{{#if:{{{CKReserved|}}}| | {{#if:{{{CKReserved|}}}| | ||
− | {{!}} <b>Reserved :</b> {{!}}{{!}} [[:User:{{{CKReserved}}}|{{{CKReserved}}}]] | + | {{!}} align="right" {{!}} <b>Reserved :</b> {{!}}{{!}} [[:User:{{{CKReserved}}}|{{{CKReserved}}}]] |
}} | }} | ||
|} | |} |
Revision as of 00:43, 19 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=Karbon |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
|
|
Notes
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>