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
(array used)
(lists layout changed)
Line 88: Line 88:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
==Current data==
 
==Current data==
{| style="border-style:solid; border-color:black; border-width:1px;"
+
{| style="border:solid black 1px"
 
| <div width="15%" style="background-color:#ddd">
 
| <div width="15%" style="background-color:#ddd">
 
  {|  
 
  {|  
Line 104: Line 104:
 
| <div width="85%">
 
| <div width="85%">
 
  {|  
 
  {|  
  | <b>C</b> || <b>{{#if:{{{CKClist|}}}|{{#arraydefine:CC|{{{CKClist}}}}}{{#arraysize:CC}} : </b>}} || {{{CKClist}}}
+
  | <b>C {{padleft:{{#if:{{{CKClist|}}}|{{#arraydefine:CC|{{{CKClist}}}}}{{#arraysize:CC}}|0}}|2}} : </b> {{{CKClist}}}
 
  |-
 
  |-
  | colspan="3"| <hr>
+
  | <hr>
 
  |-
 
  |-
  | <b>K</b> || <b>{{#if:{{{CKKlist|}}}|{{#arraydefine:CK|{{{CKKlist}}}}}{{#arraysize:CK}} : </b>}} || {{{CKKlist}}}
+
  | <b>K {{padleft:{{#if:{{{CKKlist|}}}|{{#arraydefine:CK|{{{CKKlist}}}}}{{#arraysize:CK}}|0}}|2}} : </b> {{{CKKlist}}}
 
  |}
 
  |}
 
  </div>
 
  </div>

Revision as of 23:41, 17 March 2019

Description

Template CarolKyneaBase

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

Calling

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

Example

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

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" } }, "description": "Current data for Caol/Kynea base " } </templatedata>