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"

From Prime-Wiki
Jump to: navigation, search
(CKSieve + without both)
m
Line 99: Line 99:
 
| <div width="15%" style="background-color:#ddd">
 
| <div width="15%" style="background-color:#ddd">
 
  {|  
 
  {|  
   | <b>Base :</b> || {{{CKBase}}} {{#if:{{{CKSieve|}}}|&nbsp;[[File:{{PAGENAME}} sieve.zip|(sieve)]]|}}
+
   | <b>Base :</b> || {{{CKBase}}} {{#if:{{{CKSieve|}}}|[[:File:{{PAGENAME}} sieve.zip|&nbsp;(sieve)]]|}}
 
   |-
 
   |-
 
   | <b>Max&nbsp;<i>n</i> :</b> || {{{CKMaxn}}}
 
   | <b>Max&nbsp;<i>n</i> :</b> || {{{CKMaxn}}}

Revision as of 15:01, 19 March 2019

Description

Template CarolKyneaBase

Display of current data for Carol/Kynea-type base.

Calling

{{CarolKyneaBase
|CKBase=
|CKMaxn=
|CKDate=
|CKReserved=
|CKClist=
|CKKlist=
|CKRemarks=
|CKSieve=
}}

Example

{{CarolKyneaBase
|CKBase=2
|CKMaxn=1234
|CKDate=2019-01-01
|CKReserved=Karbon
|CKClist=1, 2, 3, 4
|CKKlist=5, 6, 7
|CKRemarks=None
|CKSieve=y
}}

will create: Template:CarolKyneaBase

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": "string", "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 Caol/Kynea base " } </templatedata>